/* ================================
   CSS یکپارچه برای هر دو محاسبه‌گر
================================ */

/* محاسبه‌گر تیرچه کرومیت */
.tirche-calculator {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
    color: #333;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tirche-calculator h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}

.tirche-calculator label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.tirche-calculator input[type="number"],
.tirche-calculator select {
    width: 100%;
    padding: 8px 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.tirche-calculator button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 15px auto 0 auto;
    transition: background-color 0.3s;
}

.tirche-calculator button:hover {
    background-color: #c0392b;
}

.tirche-calculator #result {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* محاسبه‌گر تیرچه بتنی */
.joist-calculator {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
    color: #333;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f0f9ff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.joist-calculator h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}

.joist-calculator label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.joist-calculator input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.joist-calculator button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 15px auto 0 auto;
    transition: background-color 0.3s;
}

.joist-calculator button:hover {
    background-color: #2980b9;
}

.joist-calculator #joistResult {
    margin-top: 15px;
    padding: 10px;
    background-color: #dff9fb;
    border: 1px solid #a4b0be;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* ریسپانسیو */
@media screen and (max-width: 480px) {
    .tirche-calculator, .joist-calculator {
        padding: 10px;
    }

    .tirche-calculator button, .joist-calculator button {
        width: 100%;
    }
}
.scraped-price-box {
    background-color: #fffae6;
    border: 1px solid #f0d887;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #d35400;
    display: inline-block;
    margin: 10px 0;
}
/* Testimonial Box */
.testimonial-box {
    border: 2px solid #e74c3c; /* رنگ قرمز مشابه لوگوی سایت */
    background-color: #fff4f4; /* پس‌زمینه کمی روشن */
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    font-size: 14px;
    color: #e74c3c;
    text-align: right;
}
.yunolite-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: tahoma, sans-serif;
  font-size: 15px;
  text-align: center;
}

.yunolite-table thead th {
  background-color: #f04e4e; /* رنگ هدر جدول */
  color: #fff;
  padding: 12px;
}

.yunolite-table tbody td {
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ddd;
}

.yunolite-table tbody tr:nth-child(even) td {
  background-color: #f9f9f9; /* برای خوانایی ردیف‌های زوج */
}
.table-wrap {
  display: flex;
  justify-content: center;
}

table.styled {
  border-collapse: collapse;
  margin: auto;
  min-width: 640px;
  background: #fff;
  border: 3px solid #2b2b2b;
  border-radius: 6px;
  overflow: hidden;
}

table.styled th,
table.styled td {
  border: 1px solid #2b2b2b;
  padding: 10px 12px;
  text-align: center;
}

table.styled th {
  background: #e9e9e9;
  font-weight: 700;
}

@media (max-width: 700px) {
  table.styled {
    min-width: 0;
    width: 100%;
  }
  table.styled td,
  table.styled th {
    padding: 8px;
  }
}

