/**
 * Sky Aroma Specs Table - Frontend Styles
 * White theme on #efefec background
 */

/* ===========================
   TABLE CONTAINER
   =========================== */
.sas-table {
    width: 100%;
    position: relative;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 0;
    border: 1px solid #e5e5e2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.sas-table *,
.sas-table *::before,
.sas-table *::after {
    box-sizing: border-box;
}

/* ===========================
   HEADER
   =========================== */
.sas-header {
    padding: 24px 28px 18px;
    border-bottom: 1px solid #e5e5e2;
}

.sas-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
    letter-spacing: 0.02em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sas-title-accent {
    width: 3px;
    height: 18px;
    background-color: #3d4a3a;
    border-radius: 2px;
    flex-shrink: 0;
}

.sas-subtitle {
    font-size: 0.78rem;
    color: #999996;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 6px 0 0 13px;
}

/* ===========================
   PERFORMANCE PILL (inside sas-row)
   =========================== */
.sas-performance-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Balanced - white with grey border */
.sas-performance-balanced {
    background-color: #ffffff;
    border: 1.5px solid #c8c8c8;
}

.sas-performance-balanced .sas-performance-label {
    color: #888888;
}

.sas-performance-balanced .sas-performance-value {
    color: #2d2d2d;
}

/* Mild - white with grey border, lighter text */
.sas-performance-mild {
    background-color: #ffffff;
    border: 1.5px solid #c8c8c8;
}

.sas-performance-mild .sas-performance-label {
    color: #999999;
}

.sas-performance-mild .sas-performance-value {
    color: #555555;
}

/* Strong - solid dark green */
.sas-performance-strong {
    background-color: #3d4a3a;
    border: 1.5px solid transparent;
}

.sas-performance-strong .sas-performance-label {
    color: rgba(255, 255, 255, 0.7);
}

.sas-performance-strong .sas-performance-value {
    color: #ffffff;
}

.sas-performance-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sas-performance-value {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ===========================
   ROWS CONTAINER
   =========================== */
.sas-body {
    padding: 6px;
}

/* ===========================
   ROW
   =========================== */
.sas-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.sas-row:hover {
    background-color: #f7f7f5;
}

.sas-row:not(:last-child) {
    border-bottom: 1px solid #eeeeeb;
}

/* ===========================
   LABEL (icon + text)
   =========================== */
.sas-label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    flex-shrink: 0;
}

/* ===========================
   ICON
   =========================== */
.sas-icon {
    width: 20px;
    height: 20px;
    color: #999996;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.sas-row:hover .sas-icon {
    opacity: 0.9;
}

/* ===========================
   VALUE
   =========================== */
.sas-value {
    color: #2d2d2d;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-align: right;
}

/* Highlighted Value */
.sas-value.sas-highlight {
    color: #3d4a3a;
    font-weight: 600;
}

/* ===========================
   BADGE
   =========================== */
.sas-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0ed;
    color: #2d2d2d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 1px solid #e2e2df;
}

/* ===========================
   PRICE ROW
   =========================== */
.sas-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-top: 1px solid #e5e5e2;
    background-color: #fafaf8;
}

.sas-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}

.sas-price-prefix,
.sas-price-suffix {
    color: #999996;
    font-size: 0.8rem;
    font-weight: 400;
}

.sas-price-value {
    color: #3d4a3a;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===========================
   FOOTER
   =========================== */
.sas-footer {
    padding: 12px 28px 16px;
    text-align: center;
    border-top: 1px solid #eeeeeb;
}

.sas-footer-text {
    font-size: 0.7rem;
    color: #bbbbbb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 575px) {
    .sas-table {
        border-radius: 12px;
    }

    .sas-header {
        padding: 20px 18px 14px;
    }

    .sas-title {
        font-size: 1rem;
    }

    .sas-subtitle {
        font-size: 0.7rem;
    }

    .sas-performance-pill {
        padding: 6px 18px;
        gap: 6px;
    }

    .sas-performance-label {
        font-size: 0.62rem;
    }

    .sas-performance-value {
        font-size: 0.85rem;
    }

    .sas-body {
        padding: 4px;
    }

    .sas-row {
        padding: 14px 16px;
        border-radius: 8px;
    }

    .sas-label {
        font-size: 0.82rem;
        gap: 10px;
    }

    .sas-value {
        font-size: 0.82rem;
    }

    .sas-icon {
        width: 18px;
        height: 18px;
    }

    .sas-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .sas-price-row {
        padding: 16px 18px;
    }

    .sas-price-value {
        font-size: 1.1rem;
    }

    .sas-footer {
        padding: 10px 18px 14px;
    }
}
