/* Salat Times Table Styles */

.st_table {
    width: 100%;
    max-width: 400px !important;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.st_table td,
.st_table th {
    padding: 12px 16px;
    border: none;
    transition: background-color 0.2s ease;
}

/* Header row */
.st_table tr:first-child td {
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Column headers */
.st_table tr:nth-child(2) td,
.st_table tr:nth-child(2) th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 10px 16px;
}

/* Data rows hover effect */
.st_table tr:not(:first-child):not(:nth-child(2)):hover td {
    filter: brightness(0.95);
    cursor: default;
}

/* Remove default borders */
.st_table tr td {
    border-left: none !important;
    border-right: none !important;
}

/* First cell in each row */
.st_table tr td:first-child {
    font-weight: 500;
}

/* Last row bottom border radius */
.st_table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.st_table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Responsive design */
@media (max-width: 480px) {
    .st_table {
        font-size: 13px;
    }
    
    .st_table td,
    .st_table th {
        padding: 10px 12px;
    }
    
    .st_table tr:first-child td {
        font-size: 15px;
        padding: 14px 12px;
    }
    
    .st_table tr:nth-child(2) td,
    .st_table tr:nth-child(2) th {
        font-size: 11px;
        padding: 8px 12px;
    }
}

/* Print styles */
@media print {
    .st_table {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Alternative: Light theme enhancement */
.st_table.light-theme {
    background-color: #ffffff;
}

/* Alternative: Dark theme support */
.st_table.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

.st_table.dark-theme tr:hover td {
    filter: brightness(1.2);
}
