body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('/static/images/body-gif.gif') no-repeat center center fixed;
    background-size: cover;
}
.container {
    max-width: 1550px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.dropdown {
    width: 100%;
    height: 50px;
    border-radius: 28px;
    padding: 0px 10px;
    background: #fff;
    border: 1px solid;
    font-size: 20px;

}

.top-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.top-section div {
    margin-right: 10px;
}

.row-count {
    font-size: 14px;
    font-weight: bold;
            position: absolute;
        right: 0;
        top: 95px;
        bottom: 0;
}

/* Initially hide the table */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}
#dataTable, #bottomTable {
    max-height: 740px;
    overflow-y: auto;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd !important;
    padding: 8px;
    text-align: left;
}

table th, table td {
    border: 1px solid #ccc !important;
    padding: 8px;
    text-align: center;
}
/* ✅ Top Navbar */
.top-navbar {
    background: #009579;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    width: 100%; /* Use 100% width for full screen */
    top: 0;
    left: 0;
    z-index: 1000;


}

.brand {
    font-size: 20px;
    font-weight: bold;
}

.menu-icon {
    font-size: 26px;
    cursor: pointer;
    display: none;
    margin-right: 35px;
}

/* ✅ Sidebar (Visible only on smaller screens) */
.sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100%;
    background: #009579;
    transition: 0.3s;
    padding-top: 50px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: 0.3s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: #5b7549;
}

/* ✅ Close Button */
.close-btn {
    font-size: 24px;
    color: white;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* ✅ Toggle Sidebar (Only for smaller screens) */
#menu-toggle {
    display: none;
}

#menu-toggle:checked + .sidebar {
    left: 0;
}

/* ✅ Navbar Links on Larger Screens */
.navbar-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    text-decoration: none;
    margin-right: 30px;
}

.navbar-links li {
    padding: 0 10px;
    list-style: none;
}

.navbar-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
}

.navbar-links li a:hover {
    background: #5b7549;
}

/* ✅ Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .sidebar {
        left: -250px; /* Keep sidebar hidden off-screen by default */
    }

    #menu-toggle:checked + .sidebar {
        left: 0; /* Show sidebar when checked */
    }

    /* Hide Navbar Links on Smaller Screens */
    .navbar-links {
        display: none;
    }
}

.profile-dropdown {
    position: relative;
    display: inline-block;
    float: right;
    margin-right: 20px;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #fffcfc;
}

.profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}
.profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-container {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.profile-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.profile-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #95989b;
    margin-right: 20px;
}

.profile-header h2 {
    margin: 0;
    color: #333;
}

.profile-header p {
    color: #666;
    margin: 5px 0;
}

.profile-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 18px;
}

.profile-details div {
    width: 48%;
    margin-bottom: 15px;
}

.profile-details strong {
    color: #333;
}

.btn-container {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-header img {
        margin: 0 auto 15px;
    }
    .profile-details div {
        width: 100%;
    }
}

.login-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background-color: #5b7549; /* Darker blue */
}
/* Modal Background */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: none;
    padding: 20px;
    border-radius: 10px;
    margin-top: 110px;
    margin-bottom: 110px;
}

.custom-modal-content {
    text-align: center;
}

.modal-buttons {
    display: flex;
    justify-content: end;
    margin-top: 20px;
}


/* Modal Content */
.custom-modal-content {
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    width: 450px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.modal-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.cancel {
    background-color: #ccc;
    color: black;
}

.confirm {
    background-color: #28a745;
    color: white;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-modal-content {
        width: 65%;
    }
}
.placeholder {
    color: #ccc; /* Light gray text */
    font-style: italic;
}

.placeholder-row {
    background: #f8f9fa; /* Light background to make it look disabled */
    pointer-events: none; /* Disable interactions */
}

.disabled-link {
    color: #ccc;
    text-decoration: none;
    pointer-events: none;
}
.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Card */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

/* Card Text */
.card h5 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Button */
.btn {
    display: inline-block;
    text-decoration: none;
    background: #009579;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1b4332; /* Darker Green */
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

@media screen and (max-width: 1024px) {
    .dropdown {
        width: 100%;
        font-size: 16px;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }
}

@media screen and (max-width: 768px) {
    .dropdown {
        width: 100%;
        font-size: 14px;
    }

    table {
        width: 100%;
        font-size: 12px;
    }

    th, td {
        padding: 6px;
    }

    .top-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #submitBtn {
        width: 100%;
    }
}
  .tee-btn{
    width: 54%;
    }
@media screen and (max-width: 480px) {
    .dropdown {
        width: 100%;
        font-size: 12px;
    }
    .profile-container {
    margin-top: 200px;
    }
        #submitBtn {
        width: 80%;
        margin-left: 15px;
    }

}
@media screen and (max-width: 750px) {
    .container {
        max-width: 100% !important; /* Allow full width */
        overflow-x: auto; /* Enable horizontal scrolling */
    }

    .table-container {
        overflow-x: auto;
        width: 100%;
        display: block;
        white-space: nowrap;
    }

    #dataTable, #bottomTable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }

    table {
        min-width: 750px; /* Ensure table forces scrolling */
    }
    .tee-btn{
    width: 80%;
    }
}
.craditContainer {
padding: 140px 170px;
}
@media screen and (max-width: 1560px) {
    .craditContainer {
        padding: 50px;
        margin-top: 110px;
        margin-bottom: 110px;
    }

}


