/* Custom styles for the chat interface */
.chat-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.chat-message {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 80%;
}

.bot-message {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    text-align: left;
}

.user-message {
    background-color: #f3e5f5;
    border: 1px solid #e1bee7;
    text-align: right;
    margin-left: auto;
}

.special-input {
    transition: all 0.3s ease;
}
/* Custom styles for responsive design */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #007bff !important;
    }

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/* Chat specific styles */
.chat-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    height: 400px;
    overflow-y: auto;
}

.chat-message {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4;
}

.bot-message {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-message {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 1px solid #ce93d8;
    text-align: right;
    margin-left: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .chat-container {
        height: 350px;
        padding: 10px;
    }

    .chat-message {
        max-width: 90%;
        padding: 10px;
        font-size: 0.9rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .chat-container {
        height: 300px;
    }

    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Special inputs styling */
#special-inputs {
    transition: all 0.3s ease;
}

#date-input, #time-input {
    border: 2px solid #007bff;
    border-radius: 5px;
    padding: 8px;
}

    #date-input:focus, #time-input:focus {
        border-color: #0056b3;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
        transform: translateY(-1px);
    }

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-warning:hover {
        background: linear-gradient(135deg, #e0a800 0%, #c69500 100%);
        transform: translateY(-1px);
    }

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
        transform: translateY(-1px);
    }

/* Card styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-2px);
    }

.card-header {
    border-radius: 12px 12px 0 0 !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Table responsiveness */
.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .table {
        font-size: 0.875rem;
    }

        .table th, .table td {
            padding: 0.5rem;
        }
}

/* Form styling */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Animation for chat messages */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: fadeIn 0.3s ease;
}
/* Doctor Management Styles */
.doctor-card {
    transition: all 0.3s ease;
}

    .doctor-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.availability-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.progress {
    height: 20px;
}

.progress-bar {
    font-size: 0.8rem;
    font-weight: bold;
}

/* Form styles */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Button styles */
.btn {
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

/* Card header styles */
.card-header {
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .doctor-card {
        margin-bottom: 1rem;
    }

    .form-control {
        margin-bottom: 0.5rem;
    }
}
/* Filter section styles */
.filter-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-filter-btn {
    transition: all 0.3s ease;
}

    .quick-filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

/* Table styles */
.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

/* Badge styles */
.badge {
    font-size: 0.75em;
    padding: 0.4em 0.6em;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9em;
    }

    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}
/* Custom Styles for Medical Clinic */

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #0d6efd;
    }

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    }

.stat-item h3 {
    font-size: 3.5rem;
}

.service-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

    .service-item:hover {
        transform: translateY(-3px);
    }

    .service-item i {
        transition: transform 0.3s ease;
    }

    .service-item:hover i {
        transform: scale(1.1);
    }

/* Footer Styles */
footer a.text-light:hover {
    color: #0dcaf0 !important;
    transition: color 0.3s ease;
}

.social-links a {
    transition: transform 0.3s ease;
}

    .social-links a:hover {
        transform: translateY(-2px);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .hero-section .row {
        text-align: center;
    }
}