/**
 * SSActivewear Specifications Tab Styles
 * Modern, responsive size chart styling
 */

.ssa-specifications-wrapper {
    max-width: 100%;
    margin: 2em 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ssa-specs-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e5e5e5;
}

.ssa-specs-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 1.5em;
    font-style: italic;
}

.ssa-specs-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ssa-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95em;
}

.ssa-specs-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.ssa-specs-table thead th {
    padding: 1em 0.75em;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.ssa-specs-table thead th:first-child {
    border-top-left-radius: 8px;
}

.ssa-specs-table thead th:last-child {
    border-top-right-radius: 8px;
}

.ssa-specs-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e5e5e5;
}

.ssa-specs-table tbody tr:last-child {
    border-bottom: none;
}

.ssa-specs-table tbody tr:hover {
    background: #f8f9ff;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.ssa-specs-table tbody td {
    padding: 0.875em 0.75em;
    color: #555;
    vertical-align: middle;
}

.ssa-specs-size-column {
    min-width: 80px;
    font-weight: 600;
}

.ssa-specs-size-cell {
    background: #f8f9fa;
    color: #667eea;
    font-size: 1.05em;
    font-weight: 700;
    min-width: 80px;
}

.ssa-specs-table tbody tr:hover .ssa-specs-size-cell {
    background: #e8ebff;
}

.ssa-specs-note {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1em 1.5em;
    border-radius: 4px;
    margin-top: 1.5em;
}

.ssa-specs-note-text {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.ssa-specs-note-text strong {
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .ssa-specs-table {
        font-size: 0.85em;
    }
    
    .ssa-specs-table thead th,
    .ssa-specs-table tbody td {
        padding: 0.65em 0.5em;
    }
    
    .ssa-specs-title {
        font-size: 1.3em;
    }
    
    .ssa-specs-note {
        padding: 0.875em 1em;
    }
}

@media screen and (max-width: 480px) {
    .ssa-specs-table {
        font-size: 0.8em;
    }
    
    .ssa-specs-table thead th,
    .ssa-specs-table tbody td {
        padding: 0.5em 0.4em;
    }
    
    .ssa-specs-size-column,
    .ssa-specs-size-cell {
        min-width: 60px;
    }
}

/* Print Styles */
@media print {
    .ssa-specs-table-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .ssa-specs-table tbody tr:hover {
        transform: none;
        box-shadow: none;
    }
    
    .ssa-specs-table thead {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
