    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 70vh;
}

  /* Overlay styles */
        .overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0);
            color: white;
            text-align: center;
            padding-top: 20%;
            font-size: 24px;
            z-index: 1000;
        }

a{
    text-decoration: none;
    color: inherit;
}

#root{
    width: 100%!important;
    max-width: 800px!important;
    margin: 0 auto!important;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: #18959e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.main-content {
    flex: 1;
    /*display: flex;*/
    flex-wrap: wrap;
    padding: 15px;
    background-color: #f5f5f5;
    /*min-height: 90vh;*/
    margin-bottom: 80px;

    background-image: url('background1.svg');
    background-size: cover; /* Adjusts the background to cover the entire area */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center;
}

.widget {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(45% - 20px); /* Responsive card size */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 250px; /* Minimum width for cards */
}


 .notification-popup, .settings-popup {
    display: block;
    position: absolute;
    /*right: 25px;*/
    top: 60px;
    background-color: white;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 250px;
    padding: 15px;
}

 .notification-popup h3, .settings-popup h3 {
    text-align: left;
 }

 .notification-popup p, .settings-popup p {
    padding: 10px;
 }

 .notification-popup ul, .settings-popup ul {

 }
 .notification-popup li, .settings-popup li {
    list-style: none;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
 }


.footer-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #18959e;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.nav-item.active {
    border-bottom: 2px solid white;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 600px) {
    .widget {
        flex: 1 1 100%; /* Full width on small screens */
    }
}

/*#popup {
    position: fixed;
    bottom: -100px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease;
    width: 80%;
    max-width: 400px;
    z-index: 1000;
}*/

#popup {
    position: fixed;
    bottom: -100%; /* Hidden position */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease;
    width: 100%;
    /*max-width: 400px;*/
    z-index: 1000;
    /*max-height: 400px;*/
}

.popup-content {
    padding: 20px;
}

.menu-card {
    max-height: 300px; /* Set a fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
    
    padding-top: 10px!important;
    padding: 0 20px;
    /*background-color: #f8f9fa;*/
    /*border-radius: 8px;*/
    /*padding: 15px;*/
    /*box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);*/
}

/* Hide the scrollbar for webkit browsers */
.menu-card::-webkit-scrollbar {
    width: 0; /* Hide scrollbar for width */
    background: transparent; /* Optional: make background transparent */
}

/* Hide the scrollbar for Firefox */
.menu-card {
    scrollbar-width: none; /* Firefox */
}

/* Gradient overlay to indicate more content */
.menu-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px; /* Height of the gradient */
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 100%);
}

.menu-list {
    list-style-type: none;
}

.menu-list li {
    margin: 10px 0;
    
    width: 100%;
    padding: 15px 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
    border-radius: 10px;
}

.menu-list a {
    text-decoration: none;
    color: #007BFF; /* Link color */
    transition: color 0.3s ease;
}

.menu-list a:hover {
    color: #0056b3; /* Hover color */
}

#close-popup {
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    right: 30px;
    top: 20px;
}


.notification-item { border: 1px solid #ddd; border-radius: 5px; background-color: #fff; padding: 15px; margin: 10px 0; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s; } .notification-item:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .notification-header { font-weight: bold; font-size: 1.1em; color: #333; } .notification-date { color: gray; font-size: 0.9em; margin-bottom: 5px; }


.no-data {
    min-height: 50vh;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    width: 100%;
}


    .tab-container {
        display: flex;
        overflow-x: auto; /* Allow horizontal scrolling */
        padding: 10px 0; /* Add some padding */
        white-space: nowrap; /* Prevent wrapping of tabs */
        margin-bottom: 10px;
    }

    .tab {
        padding: 10px 20px;
        background-color: lightgray;
        border-radius: 5px;
        margin-right: 5px; /* Space between tabs */
        transition: background-color 0.3s;
        cursor: pointer;
    }

    .tab.active {
        background-color: darkcyan;
        color: white;
    }

        .tab-content {
        width: 100%;
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none; /* Hide by default */
    }

    .tab-content.active {
        display: block; /* Show active details */
    }

.section {
            margin-top: 0px;
            width: 100%;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            margin-top: 10px;
        }

        .section-header a {
            padding: 10px 20px;
            background-color: darkcyan;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
        }
        
        .section-header a.cancel {
            border-radius: 10px;
        }

        .search-form input {
            padding: 10px;
            width: 200px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-right: 10px;
        }

        .list {
        flex: 1 1 100%; /* Full width on small screens */
            margin-top: 20px;
            list-style-type: none;
            padding: 0;
        }
        
        .list img {
            width: 70px;
            border-radius: 50%;
            margin-right: 15px;
        }
        
        .list img.normal {
            border-radius: 10px;
        }

        .list li {
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 15px;
            padding: 15px;
            margin: 10px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .list-item {
            flex: 1;
        }
        
    /*Pagination*/
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .page-button {
        padding: 10px 15px;
        margin: 0 5px;
        border: none;
        border-radius: 5px;
        background-color: #18959e;
        color: white;
        cursor: pointer;
    }

    .page-button.active {
        background-color: #127c84;
    }

    .page-button:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
    
    .green-tag {
            font-weight: bold;
            color: green; /* Change color based on availability */
        }

        .red-tag {
            font-weight: bold;
            color: red;
        }


/*form*/
        
        .req-field {
            margin-left: 5px;
            color: red;
        }

        .form {
            width: 100%;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .form h2 {
            margin-bottom: 15px;
            text-align: center;
            color: darkcyan;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .form small {
            color: red;
            margin-top: 15px !important;
        }

        .submit-btn {
            width: 100%;
            background-color: darkcyan;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 15px 20px;
            cursor: pointer;
            display: block;
            margin: 20px auto 0 auto;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #007B7F; /* Darker shade on hover */
        }
        
.service-row {
    /*display: flex;*/
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-row select,
.service-row input {
    width: 100%;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    flex: 1; /* Make inputs take equal space */
}

.service-row select:disabled {
    background-color: #f0f0f0;
}

.remove-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.remove-button:hover {
    background-color: #e60000; /* Darker red on hover */
}

.add-service-button {
    background-color: #697878;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-service-button:hover {
    background-color: #007B7F; /* Darker shade on hover */
}

/*form end*/



        .calendar {
            width: 100%;
            padding: 0px;
        }

        .calendar h2 {
            margin-bottom: 15px;
            text-align: center;
            color: darkcyan;
        }

        .calendar-header {
            background: #e9e9e9;
            margin-top: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding: 10px 5px;
        }

        .calendar-header button {
            background-color: darkcyan;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .calendar-header button:hover {
            background-color: #007a7a;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }
        
        .day-header {
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    background-color: cadetblue;
    color: #fff;
            
        }


        .day {
            padding: 15px 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #e9e9e9;
            /*color: #fff;*/
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s;
            position: relative;
        }

        .day:hover {
            background-color: #e0e0e0;
            transform: scale(1.05);
        }

        .day.selected {
            background-color: darkcyan;
            color: white;
            transform: scale(1.05);
        }

        .badge {
            position: absolute;
            top: 2px;
            right: 2px;
            background-color: red;
            color: white;
            border-radius: 12px;
            padding: 3px 6px;
            font-size: 12px;
        }
        
                /* Full-Screen Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
            padding-top: 60px;
            transition: bottom 0.5s ease;
        }

        .modal-content {
            background-color: white;
            margin: 0;
            padding: 20px;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;
            box-shadow: none;
            display: flex;
            flex-direction: column;
        }

        .close {
            color: darkcyan;
            font-size: 28px;
            font-weight: bold;
            align-self: flex-end;
            cursor: pointer;
        }

        .appointment-list {
            margin-top: 20px;
            flex: 1;
            overflow-y: auto; /* Allow scrolling for long lists */
        }

        .appointment-item {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin: 5px 0;
            background-color: #f9f9f9;
        }
        
        
        /*Bills*/
        
        .bill-list {
            width: 100%;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .bill-list h2 {
            margin-bottom: 15px;
            text-align: center;
            color: darkcyan;
        }

        .create-bill-btn {
            background-color: darkcyan;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            cursor: pointer;
            display: block;
            margin: 0 auto 15px auto;
            transition: background-color 0.3s;
        }

        .create-bill-btn:hover {
            background-color: #007B7F; /* Darker shade on hover */
        }

        .bill-item {
            border-bottom: 1px solid #ddd;
            padding: 15px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bill-item:last-child {
            border-bottom: none;
        }

        .bill-details {
            flex: 1;
            padding-right: 15px;
        }

        .bill-status {
            font-weight: bold;
            padding: 5px 10px;
            border-radius: 5px;
            color: white;
            text-align: center;
        }

        .bill-status.paid {
            background-color: green;
        }

        .bill-status.unpaid {
            background-color: red;
        }
        
        

@keyframes ring {
    0% {
        transform: rotate(0)
    }

    1% {
        transform: rotate(30deg)
    }

    3% {
        transform: rotate(-28deg)
    }

    5% {
        transform: rotate(34deg)
    }

    7% {
        transform: rotate(-32deg)
    }

    9% {
        transform: rotate(30deg)
    }

    11% {
        transform: rotate(-28deg)
    }

    13% {
        transform: rotate(26deg)
    }

    15% {
        transform: rotate(-24deg)
    }

    17% {
        transform: rotate(22deg)
    }

    19% {
        transform: rotate(-20deg)
    }

    21% {
        transform: rotate(18deg)
    }

    23% {
        transform: rotate(-16deg)
    }

    25% {
        transform: rotate(14deg)
    }

    27% {
        transform: rotate(-12deg)
    }

    29% {
        transform: rotate(10deg)
    }

    31% {
        transform: rotate(-8deg)
    }

    33% {
        transform: rotate(6deg)
    }

    35% {
        transform: rotate(-4deg)
    }

    37% {
        transform: rotate(2deg)
    }

    39% {
        transform: rotate(-1deg)
    }

    41% {
        transform: rotate(1deg)
    }

    43% {
        transform: rotate(0)
    }

    to {
        transform: rotate(0)
    }
}

.bell-ring{
    color: #fff;
    animation: ring 12s .7s ease-in-out infinite;
}