/* Registration Section Styling */
.schedule-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../images/background/pattern-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.05) 0%, rgba(44, 62, 80, 0.1) 100%);
}

/* Registration Tables Styling */
.registration-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
}

.registration-table:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.registration-table thead tr {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registration-table th,
.registration-table td {
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.registration-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.registration-table tbody tr:nth-of-type(even) {
    background-color: rgba(52, 152, 219, 0.03);
}

.registration-table tbody tr:last-of-type {
    border-bottom: 3px solid #2c3e50;
}

.registration-table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
    transform: scale(1.002);
}

/* Workshop Table Specific Styles */
.workshop-table th:nth-child(2),
.workshop-table td:nth-child(2) {
    text-align: center;
    font-weight: 600;
}

.workshop-table th:nth-child(3),
.workshop-table td:nth-child(3),
.workshop-table th:nth-child(4),
.workshop-table td:nth-child(4) {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Conference Table Specific Styles */
.conference-table td:not(:first-child) {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Table Responsive Styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

/* Section Title Styles */
.sec-title {
    margin-bottom: 40px;
    position: relative;
}

.sec-title h2 {
    position: relative;
    display: inline-block;
    font-size: 36px;
    line-height: 1.2em;
    color: #2c3e50;
    font-weight: 700;
    padding-bottom: 20px;
    text-transform: capitalize;
}

.sec-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 3px;
    width: 80px;
    transform: translateX(-50%);
    background: linear-gradient(to right, #2c3e50, #3498db);
    border-radius: 3px;
}

.sec-title h2:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    height: 3px;
    width: 40px;
    transform: translateX(-50%);
    background: linear-gradient(to right, #3498db, #2c3e50);
    border-radius: 3px;
}

/* Price Highlight Effect */
.registration-table td:not(:first-child) {
    position: relative;
    overflow: hidden;
}

.registration-table td:not(:first-child)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.registration-table tr:hover td:not(:first-child)::after {
    transform: translateX(0);
}

/* Superscript Styles */
sup {
    font-size: 60%;
    top: -0.5em;
    color: #3498db;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .schedule-section {
        padding: 50px 0;
    }

    .registration-table {
        font-size: 14px;
        margin: 15px 0;
    }
    
    .registration-table th,
    .registration-table td {
        padding: 10px 12px;
    }
    
    .sec-title h2 {
        font-size: 28px;
    }

    .table-responsive {
        padding: 10px;
        margin-bottom: 1rem;
    }
}

/* Custom Scrollbar for Table Responsive */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #2c3e50;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #3498db;
}
