body {
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 20px 20px;
    line-height: 1.6;
}

table {
    height: auto !important;
}

/* Navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0;
    padding: 3px 0;
}

.navbar-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    font-size: 14px;
}

.nav-links a:hover:not(.register-btn) {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-links a.register-btn {
    background: #FF6B35;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-links a.register-btn:hover {
    background: #E55A2E;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
    position: relative;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 10px 15px;
        justify-content: space-between;
    }

    .nav-center {
        justify-content: flex-end;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2196F3, #1976D2);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 15px 20px;
        border-radius: 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover:not(.register-btn) {
        background: rgba(255, 255, 255, 0.15);
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    .nav-links a.register-btn {
        background: #FF6B35;
        border-bottom: 2px solid #E55A2E;
    }

    .mobile-menu-btn {
        display: block;
    }

    body {
        padding-top: 60px;
    }
}

/* Responsive design base */
* {
    box-sizing: border-box;
}

.content-container {
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.logo {
    display: block;
    width: 500px;
    cursor: pointer;
}

/* Table styles */
.content-container table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    table-layout: auto;
}

.content-container tbody {
    display: table-row-group;
}

.content-container th,
.content-container td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    vertical-align: top;
}

.content-container th {
    background-color: #2196F3;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1976D2;
    text-align: center;
}



.content-container tr:nth-child(even) {
    background-color: #fafbfc;
}

.content-container tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Table wrapper for better mobile experience */
.content-container {
    position: relative;
}

.content-container table {
    position: relative;
}

/* Scrollbar styling for webkit browsers */
.content-container table::-webkit-scrollbar {
    height: 8px;
}

.content-container table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-container table::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.content-container table::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Additional responsive improvements */
@media screen and (max-width: 480px) {
    .content-container table {
        font-size: 10px;
    }

    .content-container th,
    .content-container td {
        padding: 6px 4px;
        line-height: 1.2;
    }

    .content-container th {
        font-size: 9px;
    }
}

/* Responsive table */
@media screen and (max-width: 768px) {
    .content-container table {
        font-size: 12px;
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .content-container thead {
        display: table-header-group;
    }

    .content-container tbody {
        display: table-row-group;
        width: 100%;
    }

    .content-container tr {
        display: table-row;
        width: 100%;
    }

    .content-container th,
    .content-container td {
        padding: 8px 6px;
        min-width: 100px;
        text-align: left;
        display: table-cell;
        border-bottom: 1px solid #ddd;
        white-space: normal;
        word-wrap: break-word;
        vertical-align: top;
    }

    .content-container th:first-child,
    .content-container td:first-child {
        min-width: 80px;
        text-align: center;
        font-weight: bold;
        background-color: #f8f9fa;
    }

    .content-container th {
        background-color: #2196F3;
        color: white;
        text-align: center;
        font-size: 11px;
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

.content-container th:first-child {
    border-top-left-radius: 8px;
}

.content-container th:last-child {
    border-top-right-radius: 8px;
}

/* Responsive images */
.content-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Image modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
}

.image-modal.show {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-content.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.close-modal.show {
    opacity: 1;
    transform: scale(1);
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
        font-size: 14px;
        padding-top: 60px;
    }

    .logo {
        width: 90% !important;
        max-width: 300px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .content-container {
        padding: 15px;
        margin: 10px 0;
    }

    .content-container h1 {
        font-size: 1.5em;
        line-height: 1.3;
    }

    .content-container h2 {
        font-size: 1.3em;
    }

    .content-container h3 {
        font-size: 1.1em;
    }

    .content-container p {
        font-size: 16px;
        line-height: 1.5;
    }

    .content-container li {
        font-size: 16px;
    }

    .content-container td {
        font-size: 12px;
    }

    /* Mobile table optimization - Enhanced for better readability */
    .content-container table {
        font-size: 11px;
        width: 100%;
        margin: 15px 0;
        display: block;
        overflow-x: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .content-container thead {
        display: table-header-group;
        position: sticky;
        top: 0;
        z-index: 3;
    }

    .content-container tbody {
        display: table-row-group;
        width: 100%;
    }

    .content-container tr {
        display: table-row;
        width: 100%;
    }

    .content-container tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .content-container tr:nth-child(odd) {
        background-color: #ffffff;
    }



    .content-container th,
    .content-container td {
        padding: 10px 6px;
        min-width: 90px;
        text-align: left;
        display: table-cell;
        border-bottom: 1px solid #e0e0e0;
        white-space: normal;
        word-wrap: break-word;
        vertical-align: top;
        line-height: 1.3;
    }

    /* Time column styling */
    .content-container td:first-child,
    .content-container th:first-child {
        min-width: 80px;
        text-align: center;
        font-weight: bold;
        background-color: #f0f4f8;
        border-right: 2px solid #2196F3;
    }

    .content-container th {
        background-color: #2196F3;
        color: white;
        text-align: center;
        font-size: 10px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        position: sticky;
        top: 0;
        z-index: 4;
    }

    /* Content column styling */
    .content-container td:last-child {
        min-width: 180px;
        padding-left: 10px;
    }

    /* List styles */
    .content-container ul {
        padding-left: 20px;
    }

    .content-container li {
        margin-bottom: 8px;
        line-height: 1.4;
    }
}

/* Tablet styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        padding: 15px;
        max-width: 900px;
        padding-top: 75px;
    }

    .logo {
        width: 80%;
        max-width: 400px;
    }

    .content-container {
        padding: 25px;
    }

    /* Tablet table optimization */
    .content-container table {
        font-size: 14px;
        width: 100%;
    }

    .content-container th,
    .content-container td {
        padding: 12px 15px;
        text-align: left;
        word-wrap: break-word;
    }

    .content-container th:first-child,
    .content-container td:first-child {
        width: 20%;
        text-align: center;
        font-weight: bold;
    }

    .content-container td:last-child {
        width: 80%;
    }
}

