* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding-top: 0;
    background-color: #f5f5f5;
}

/* Masthead Header */
.masthead {
    background-image: url('../img/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.masthead-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-section {
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .masthead-content .container {
        width: 95%;
        padding: 20px;
        max-width: 400px;
    }
    
    .masthead-logo {
        max-width: 200px;
    }
    
    .masthead-content .container h1 {
        font-size: 2rem;
    }
    
    .masthead-content .container p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .masthead-content .container {
        width: 95%;
        padding: 15px;
        max-width: 320px;
    }
    
    .masthead-logo {
        max-width: 150px;
    }
    
    .masthead-content .container h1 {
        font-size: 1.5rem;
    }
    
    .masthead-content .container p {
        font-size: 0.9rem;
    }
}

.masthead-content .container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1E90FF;
}

.masthead-content .container p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #333;
}



.btn-get-started {
    margin-top: 30px;
    padding: 15px 40px;
    background-color: #1E90FF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.btn-get-started:hover {
    background-color: #0080FF;
}

.search-container {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-input {
    padding: 15px 20px;
    width: 300px;
    border: 2px solid #1E90FF;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #0080FF;
}

.search-btn {
    padding: 15px 25px;
    background-color: #1E90FF;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #0080FF;
}

.calendar-container {
    margin-top: 40px;
    text-align: center;
}

.calendar-container h3 {
    margin-bottom: 20px;
    color: #1E90FF;
}

#calendar {
    display: inline-block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

#calendar table {
    border-collapse: collapse;
    width: 100%;
}

#calendar th, #calendar td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

#calendar th:first-child,
#calendar th:last-child {
    background-color: #FF8C00;
}

#calendar th:not(:first-child):not(:last-child) {
    background-color: #1E90FF;
    color: white;
}

#calendar td.other-month {
    background-color: #fafafa;
    color: #ccc;
}

#calendar td.weekend {
    background-color: #ffebee;
    color: #d32f2f;
    cursor: not-allowed;
}

#calendar td.past-date {
    background-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
}

#calendar td.weekday {
    cursor: pointer;
    transition: background-color 0.3s;
}

#calendar td.weekday:hover {
    background-color: #e8f5e8;
}

#calendar td.today {
    background-color: #1E90FF;
    color: white;
}

#timeModal.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#timeModal .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

#timeModal .modal-content h2 {
    margin-bottom: 25px;
    text-align: center;
}

#timeModal .modal-content .form-group {
    margin-bottom: 20px;
}

#timeModal .modal-content .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E90FF;
    font-weight: bold;
}

#timeModal .modal-content .form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#timeModal .modal-content .form-group input:focus {
    outline: none;
    border-color: #1E90FF;
}

#timeModal .modal-content .btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #1E90FF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#timeModal .modal-content .btn-submit:hover {
    background-color: #0080FF;
}

.carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(45, 134, 89, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: rgba(45, 134, 89, 0.9);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #2d8659;
}

.charts-container {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
}

.charts-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.chart-card {
    background: var(--bs-card-bg, white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chart-card h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1E90FF;
}

.chart-bar {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    gap: 10px;
}

.bar {
    flex: 1;
    height: var(--height);
    border-radius: 5px 5px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    color: white;
    font-weight: bold;
}

.medicine-chart .bar {
    background: linear-gradient(to top, #FF8C00, #FFA500);
}

.vaccine-chart .bar {
    background: linear-gradient(to top, #0080FF, #1E90FF);
}

.bar .quantity {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

.bar .label {
    position: absolute;
    bottom: -40px;
    font-size: 12px;
    text-align: center;
    width: 100%;
    color: #555;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
}

.info-item {
    background: var(--bs-card-bg, white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-item h3 {
    color: #1E90FF;
    margin-bottom: 15px;
    font-size: 20px;
}

.info-item p {
    color: var(--bs-body-color);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
}

.service-card {
    background: var(--bs-card-bg, white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-title {
    color: var(--bs-primary);
}

.service-card .card-text {
    color: var(--bs-body-color);
    line-height: 1.6;
}

/* Responsive Map */
iframe {
    max-width: 100%;
}

/* Responsive Design for All Device Sizes */

/* Extra Large devices (1200px and up) */
@media (min-width: 1200px) {
    .admin-content-static {
        max-width: 1400px;
    }
    
    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .admin-content-static {
        max-width: 1140px;
        padding: 80px 15px 40px;
    }
    
    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .form-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-row {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Medium devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .admin-content-static {
        max-width: 960px;
        padding: 80px 15px 40px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .appointment-reminder {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    table {
        font-size: 14px;
        min-width: 600px;
    }
    
    th, td {
        padding: 10px 8px;
    }
    
    .hero-section {
        height: 60vh;
    }
    
    .search-input {
        width: 250px;
    }
    
    /* Hamburger Menu for Medium Devices */
    .admin-nav-static .hamburger {
        display: flex;
    }
    
    .admin-nav-static ul {
        position: fixed;
        top: 0;
        right: -300px; /* Offcanvas hidden to the right */
        left: auto;
        width: 300px;
        height: 100vh;
        background-color: #1E90FF;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 25px;
        transform: none;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .admin-nav-static ul.active {
        right: 0;
    }
    
    .admin-nav-static a {
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Small devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .admin-content-static {
        max-width: 720px;
        padding: 80px 15px 40px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .appointment-reminder {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    table {
        font-size: 12px;
        min-width: 500px;
    }
    
    th, td {
        padding: 8px 6px;
    }
    
    .hero-section {
        height: 50vh;
    }
    
    .search-input {
        width: 200px;
    }
    
    .chart-card {
        padding: 15px;
    }
    
    .medicine-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-nav-static ul {
        gap: 15px;
    }
    
    .admin-nav-static a {
        font-size: 1em;
    }
    
    /* Hamburger Menu for Small Devices */
    .admin-nav-static .hamburger {
        display: flex;
    }
    
    .admin-nav-static ul {
        position: fixed;
        top: 0;
        right: -280px;
        left: auto;
        width: 280px;
        height: 100vh;
        background-color: #1E90FF;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .admin-nav-static ul.active {
        right: 0;
    }
    
    .admin-nav-static a {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Extra Small devices (up to 575px) */
@media (max-width: 575px) {
    .admin-content-static {
        padding: 80px 10px 40px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .appointment-reminder {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    table {
        font-size: 11px;
        min-width: 400px;
    }
    
    th, td {
        padding: 6px 4px;
    }
    
    .hero-section {
        height: 40vh;
    }
    
    .search-input {
        width: 180px;
        padding: 10px 15px;
    }
    
    .search-btn {
        padding: 10px 20px;
    }
    
    .chart-card {
        padding: 10px;
    }
    
    .medicine-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px;
    }
    
    .admin-nav-static ul {
        gap: 10px;
    }
    
    .admin-nav-static a {
        font-size: 0.9em;
        padding: 8px 12px;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .date-greeting h2 {
        font-size: 1.3rem;
    }
    
    .btn-accept, .btn-reject, .btn-reschedule {
        padding: 6px 10px;
        font-size: 12px;
        margin: 2px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .carousel-slide img {
        height: 200px;
    }
    
    iframe {
        width: 100% !important;
        height: 200px !important;
    }
    
    /* Hamburger Menu for Extra Small Devices */
    .admin-nav-static .hamburger {
        display: flex;
    }
    
    .admin-nav-static ul {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 85%; /* Wider on very small screens */
        height: 100vh;
        background-color: #1E90FF;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 15px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .admin-nav-static ul.active {
        right: 0;
    }
    
    .admin-nav-static a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Form Container Responsive */
@media (max-width: 768px) {
    .form-container {
        margin: 20px;
        padding: 20px;
    }
    
    .form-container h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .form-container h1 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
}

.section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section:nth-child(even) {
    background-color: #f5f5f5;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1E90FF;
}



/* Admin Styles */
.admin-nav {
    background-color: #1E90FF;
    padding: 15px 0;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 16px;
}

.admin-nav a:hover, .admin-nav a.active {
    background-color: #0080FF;
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 40px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.date-greeting {
    background: var(--bs-card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.medicine-list {
    background: var(--bs-card-bg, white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.medicine-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.medicine-item:last-child {
    border-bottom: none;
}

.low-stock {
    background: var(--bs-card-bg, white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid #e74c3c;
}

.notification {
    color: #e74c3c;
    font-weight: bold;
}

.section-hidden {
    display: none;
}

.inventory-form {
    background: var(--bs-card-bg, white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input, .form-row select {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.btn-add {
    background-color: #1E90FF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-update {
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.search-section {
    background: var(--bs-card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.appointments-table, .records-table {
    background: var(--bs-card-bg, white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #1E90FF;
    color: white;
    font-weight: bold;
}

.btn-accept {
    background-color: #27ae60;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.btn-reject {
    background-color: #f39c12;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-reschedule {
    background-color: #1E90FF;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-accept:hover {
    background-color: #219a52;
}

.btn-reject:hover {
    background-color: #e67e22;
}

.btn-reschedule:hover {
    background-color: #0080FF;
}

.status-accepted {
    color: #27ae60;
    font-weight: bold;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.appointment-reminder {
    background: var(--bs-card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #1E90FF;
}

.reminder-text {
    color: #000000;
    font-weight: bold;
}

.jump-btn {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.jump-btn:hover {
    background-color: #219a52;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Admin Static Navigation */
.admin-nav-static {
    background-color: transparent;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav-static.scrolled {
    background-color: #1E90FF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-nav-static .logo-container {
    display: flex;
    align-items: center;
}

.admin-nav-static .logo {
    height: 40px;
    width: auto;
}

.admin-nav-static ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-nav-static .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s;
    position: absolute;
    right: 20px;
}

.admin-nav-static .hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-nav-static .hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    transform-origin: center;
}

.admin-nav-static .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.admin-nav-static .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.admin-nav-static .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.admin-content-static {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.admin-dashboard {
    min-height: 100vh;
}

.admin-hero {
    background-image: url('../img/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Index.html Navigation Styling */
body:not(.admin-hero) .admin-nav-static a {
    color: #1E90FF;
    font-size: 1.17em;
    font-weight: bold;
}

body:not(.admin-hero) .admin-nav-static.scrolled a {
    color: #FF8C00;
}

/* Admin pages navigation styling */
.admin-hero .admin-nav-static a {
    color: #1E90FF;
    font-size: 1.17em;
    font-weight: bold;
}

.admin-hero .admin-nav-static.scrolled a {
    color: #FF8C00;
}

.admin-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.admin-hero .admin-content-static {
    position: relative;
    z-index: 2;
}

.admin-hero .admin-nav-static {
    position: fixed;
    z-index: 1000;
}

.appointment-filter {
    background: var(--bs-card-bg, white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    color: #1E90FF;
}

.filter-group input, .filter-group select {
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    min-width: 150px;
}

.appointment-count {
    background: #04cd4a;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.booking-hero {
    background-image: url('../img/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.booking-hero .form-container {
    position: relative;
    z-index: 2;
}

.booking-hero h1 {
    color: var(--bs-primary);
}

.booking-hero .btn-submit {
    background-color: #28a745;
}

.btn-restock {
    background-color: #e74c3c;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-restock:hover {
    background-color: #c0392b;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 9999;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.dark-mode-toggle.is-hidden {
    display: none;
}

/* Dark Mode Specific Overrides */
[data-bs-theme="dark"] .text-primary {
    color: #6ea8fe !important;
}

[data-bs-theme="dark"] .text-warning {
    color: #ffda6a !important;
}

/* Chart Responsive Styles */
.chart-container {
    position: relative;
    height: 300px;
}

@media (max-width: 575px) {
    .chart-container {
        height: 250px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .chart-container {
        height: 280px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .chart-container {
        height: 320px;
    }
}

@media (min-width: 992px) {
    .chart-container {
        height: 350px;
    }
}

/* Smooth Theme Transition */
body, 
.navbar, 
.card, 
.modal-content, 
.form-control, 
.form-select, 
.list-group-item,
table,
th,
td {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
