
:root {
    --primary-color: #099680;;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --success-color: #0d17a3;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-text);
    line-height: 1.6;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-header1 {
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem;
    border-bottom: none;
}
.card-header2 {
    background-color: rgb(143 154 169) !important;
    color: white;
    padding: 1.25rem;
    border-bottom: none;
}

.card-header h4 {
    font-weight: 600;
    margin: 0;
}

.btn-outline-secondary {
    border-color: white;
    color: white;
}

.btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Time slots table styles */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--light-bg);
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    padding: 1rem 0.75rem;
    border-bottom-width: 1px;
}

.table tbody td {
    vertical-align: middle;
    padding: 0.75rem;
   color: black; 
}

.staff-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--primary-color);
}

.time-slot-cell {
    text-align: center;
    font-weight: 500;
    cursor: default;
    transition: var(--transition);
    position: relative;
}

.time-slot-cell strong {
    font-weight: 600;
}

.hour-marker {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.selectable {
    background-color: #e8f5e9;
    color: var(--success-color);
    cursor: pointer;
}

.selectable:hover {
    background-color: #c8e6c9;
}

.selected {
    background-color: var(--primary-color) !important;
    color: white;
    font-weight: 600;
}

.booked {
    background-color: #a74352 !important;
    color: #ffffff;
}

.unavailable {
    background-color: #eceff1;
    color: var(--light-text);
}

/* Alert styles */
.weekend-alert {
    background-color: #e3f2fd;
    border-left: 4px solid var(--accent-color);
    border-radius: 0;
}

.non-weekend-message {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.non-weekend-message h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.non-weekend-message p.lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Slot counter */
.slot-counter {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    font-weight: 600;
    z-index: 1000;
}

/* Duration selection */
.duration-selection .card-header {
    background-color: var(--light-bg);
    color: var(--dark-text);
    border-bottom: 1px solid #dee2e6;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modal styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
}

.form-section-title {
    color: var(--primary-color);
}

.total-price {
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-header .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-header h4 {
        order: -1;
    }
    
    .table-responsive {
        border: 1px solid #dee2e6;
    }
    
    .staff-image {
        width: 40px;
        height: 40px;
    }
    
    .slot-counter {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
.modal-header{
    --bs-bg-opacity: 1 !important;
    background-color: rgb(66 89 123) !important;
}
.modal-title{
  margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    color: white;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(63 96 145) !important;
}
.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgb(63 96 145) !important;
}

.card-header {
    background-color: rgb(63 96 145) !important;
    color: #ffffff;
    padding: 1.25rem;
    border-bottom: none;
}

#icon-colr:before {
    content: "\f501";
    color: #ffffff;

}

        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }
        .loading-content {
            text-align: center;
            background-color: #ffffff;
            border-radius: 20px;
            padding: 28px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            max-width: 25%;
            width: 55%;
            animation: fadeIn 0.5s ease-out;
        }
        .loading-gif {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            margin-bottom: 20px;
        }
        .loading-text h3 {
            color: #099680;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .loading-text p {
            color: #666;
            margin-bottom: 20px;
        }
        .progress-bar {
            height: 10px;
            background-color: #f0f0f0;
            border-radius: 5px;
            overflow: hidden;
            margin-top: 15px;
        }
        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(to right, #099680, #36d1bd);
            border-radius: 5px;
            width: 0%;
            animation: progress 2s infinite ease-in-out;
        }
        .google-login-btn {
            background-color: #ffffff;
            border: 1px solid #dadce0;
            color: #3c4043;
            font-family: 'Work Sans', sans-serif;
            font-weight: 500;
            padding: 10px 20px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: background-color 0.3s, box-shadow 0.3s;
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }
        .google-login-btn:hover {
            background-color: #f8f9fa;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
        .google-login-btn i {
            color: #4285f4;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes progress {
            0% { width: 10%; }
            50% { width: 80%; }
            100% { width: 10%; }
        }
  