:root {
    --primary-color: #00B48D;
    --secondary-color: #164D92;
    --primary-light: #48cae4;
    --primary-dark: #023e8a;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --white: #ffffff;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
}
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

/* General Styles */
body {
    font-family: "Titillium Web", sans-serif !important;
    font-weight: 300;
    font-style: normal;
    padding-top: 56px; /* Adjust for fixed header */
}
.fixed-top{
    background: var(--secondary-color);
}
.fixed-top h4{
    font-size: 22px;
}
a:hover {
    text-decoration: none !important;
}
/* Fixed Header */
.fixed-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

/* Adjust main content padding for fixed header */
.main-content {
    padding-top: 1.5rem;
}

/* Doctor Info Section */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 2rem;
}

/* Form Controls */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: #ff6b6b;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #ff5252;
}

.btn-outline-primary {
    color: #ff6b6b;
    border-color: #ff6b6b;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Checkboxes and Radios */
.form-check-input:checked {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Badge */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.floating-btn i {
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .min-vh-100 {
        min-height: auto !important;
    }
    
    /* .floating-buttons {
        flex-direction: row;
        bottom: 1rem;
        right: 1rem;
    } */
    
    .floating-btn {
        width: 40px;
        height: 40px;
    }
    
    .floating-btn i {
        font-size: 1rem;
    }
    
    .calendar-container {
        padding: 0.5rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .time-slot {
        padding: 0.4rem 0.3rem;
        font-size: 0.8rem;
    }
}

/* Time Slot Styling - Enhanced (for timeslot.html) */
.time-slot {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem 0.5rem;
    margin: 0.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    background-color: white;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Adjust time slot grid */
.row > [class*='col-'] {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.time-slot:hover, .time-slot.selected {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-slot.disabled {
    background-color: #f8f9fa;
    color: #ced4da;
    cursor: not-allowed;
    border-style: dashed;
    opacity: 0.7;
}

/* Calendar View - Enhanced Compact Design */
.calendar-container {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.calendar-header {
    padding: 0.25rem 0 0.75rem;
    margin: 0 -0.25rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
    font-size: 0.85rem;
}

.calendar-weekdays {
    display: contents;
    font-weight: 500;
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.calendar-weekdays div {
    padding: 0.4rem 0;
}

.calendar-days {
    display: contents;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    font-size: 0.85rem;
    margin: 1px;
    max-height: 40px;
    width: 100%;
}

.calendar-day:hover:not(.disabled) {
    background-color: #f8f9fa;
}

.calendar-day.today {
    background-color: #e9ecef;
    font-weight: 600;
}

.calendar-day.selected {
    background-color: #ff6b6b;
    color: white;
}

.calendar-day.disabled {
    color: #dee2e6;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #adb5bd;
}

.calendar-day .date-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff6b6b;
    display: none;
}

.calendar-day.has-availability .date-badge {
    display: block;
}
.doctor-card {
    transition: transform 0.3s;
 background: #fff4e0;
background: linear-gradient(310deg, rgba(255, 244, 224, 0.84) 0%, rgba(255, 255, 255, 1) 100%);
}
.doctor-card .card-title {
    font-weight: 600;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.specialty-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}
.availability {
    font-size: 0.9rem;
}
.available {
    color: #28a745;
}
.unavailable {
    color: #dc3545;
}