:root {
    --primary-yellow: #fcc200;
    --primary-brown: #635723;
    --hover-brown: #4d441b;
    --chat-bg: #ffffff;
    --message-bg: #f8f9fa;
}

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

body,
html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brown) !important;
    text-decoration: none;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-brown) !important;
    background: rgba(252, 194, 0, 0.1);
    transform: translateY(-2px);
}

.nav-item.dropdown {
    position: relative;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
    position: absolute;
    z-index: 1000;
}

.dropdown-item {
    color: #333 !important;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    color: var(--primary-brown) !important;
    background: rgba(252, 194, 0, 0.1);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Responsive Dropdown */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }

    .dropdown-item {
        color: #333 !important;
        padding: 8px 16px;
        border-radius: 25px;
        margin: 2px 0;
    }

    .dropdown-item:hover {
        background: rgba(252, 194, 0, 0.1);
        transform: none;
    }
}

/* Main Layout */
.main-container {
    height: calc(100vh - 80px);
    display: flex;
    gap: 0;
}

.sidebar {
    background: var(--primary-yellow);
    padding: 2rem;
    overflow-y: auto;
    box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.1);
}

.left-sidebar {
    flex: 0 0 30%;
    border-right: 3px solid rgba(255, 255, 255, 0.3);
}

.right-sidebar {
    flex: 0 0 30%;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.chat-section {
    flex: 1;
    background: var(--chat-bg);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    min-width: 40%;
}

/* Top Header Section */
.top-header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    padding: 2rem;
    color: var(--primary-brown);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-buttons {
    display: flex;
}

.login-buttons .btn {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quick-access-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-access-buttons .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
}

.quick-access-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-access-buttons .btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.quick-access-buttons .btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
}

.quick-access-buttons .btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.quick-access-buttons .btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.top-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.top-header p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.8;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.chat-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.chat-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-bubble {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bot-message {
    justify-content: flex-start;
}

.bot-message .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-left-radius: 5px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-bubble {
    background: var(--primary-brown);
    color: white;
    border-bottom-right-radius: 5px;
}

/* Chat Input */
.chat-input {
    background: white;
    padding: 1.5rem;
    border-top: 3px solid #f0f0f0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(252, 194, 0, 0.25);
}

.chat-input button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--hover-brown) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 87, 35, 0.3);
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 87, 35, 0.4);
}

.chat-input button:active {
    transform: translateY(0);
}

/* Sidebar Content Styling */
.sidebar h3 {
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    font-size: 1.3rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-brown);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Calibri', sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-list li strong {
    color: var(--primary-brown);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {

    .left-sidebar,
    .right-sidebar {
        flex: 0 0 28%;
        font-size: 0.9rem;
    }

    .sidebar h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 80px);
    }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }

    .chat-section {
        min-height: calc(100vh - 80px);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .nav-link {
        margin: 0 8px;
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }

    .chat-header h2 {
        font-size: 1.5rem;
    }

    .chat-messages {
        padding: 1rem;
    }

    .message-bubble {
        max-width: 85%;
        padding: 0.8rem 1.2rem;
    }

    .chat-input {
        padding: 1rem;
    }

    .chat-input input {
        padding: 0.8rem 1.2rem;
    }

    .chat-input button {
        padding: 0.8rem 1.5rem;
    }
}

/* Loading Animation */
.typing-indicator {
    display: none;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.typing-indicator .message-bubble {
    background: #e9ecef;
    color: #6c757d;
    padding: 1rem 1.5rem;
}

.typing-dots {
    display: inline-block;
}

.typing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6c757d;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-brown);
}

/* ===== LOGIN PAGE STYLES ===== */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.logo-section {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, #fcc200 0%, #635723 100%);
}

.login-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.login-form-container {
    padding: 40px 30px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label i {
    color: #fcc200;
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.form-control:focus {
    outline: none;
    border-color: #fcc200;
    box-shadow: 0 0 0 3px rgba(252, 194, 0, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #fcc200;
}

.form-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    display: none;
}

.form-error.show {
    display: block;
}

/* Inline error message styling */
.form-group {
    position: relative;
}

.form-error-inline {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #C47806;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    display: none;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-error-inline.show {
    display: block;
}

/* Adjust input padding to make room for inline error */
.form-control {
    padding-right: 120px;
}

/* Special handling for textarea inline errors */
textarea.form-control+.form-error-inline {
    top: 20px;
    transform: none;
}

.forgot-password {
    text-align: right;
    margin-top: -10px;
}

.forgot-link {
    color: #fcc200;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #635723;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #fcc200 0%, #635723 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 194, 0, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Google Auth Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    color: #555 !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #fcc200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333 !important;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    margin: 10px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e5e9;
}

.login-divider:not(:empty)::before {
    margin-right: .75em;
}

.login-divider:not(:empty)::after {
    margin-left: .75em;
}

.login-divider span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-loading {
    display: none;
}

.register-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.register-section p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.register-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.register-link {
    color: #fcc200;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(252, 194, 0, 0.1);
}

.register-link:hover {
    color: #635723;
    background: rgba(252, 194, 0, 0.2);
    transform: translateY(-2px);
}

.register-separator {
    color: rgba(102, 102, 102, 0.5);
    font-weight: 300;
}

/* Animation for form elements */
.form-group {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive login */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }

    .login-wrapper {
        border-radius: 15px;
    }

    .login-form-container {
        padding: 30px 20px;
    }

    .login-logo {
        width: 120px;
        height: 120px;
    }

    .login-header h2 {
        font-size: 24px;
    }
}

/* ===== FORGOT PASSWORD SPECIFIC STYLES ===== */
.forgot-password-logo {
    width: 200px !important;
    height: 200px !important;
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: slideInDown 0.5s ease;
}

.success-message i {
    margin-right: 8px;
    font-size: 18px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info message styling */
.info-message {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
    animation: slideInDown 0.5s ease;
}

.info-message i {
    margin-right: 8px;
    font-size: 18px;
}

/* ===== REGISTRATION FORM SPECIFIC STYLES ===== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.form-check-input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #fcc200;
    border-color: #fcc200;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(252, 194, 0, 0.1);
}

.form-check-label {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.terms-link {
    color: #fcc200;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #635723;
    text-decoration: underline;
}

/* Registration form specific animations */
.form-group:nth-child(7) {
    animation-delay: 0.7s;
}

.form-group:nth-child(8) {
    animation-delay: 0.8s;
}

.form-group:nth-child(9) {
    animation-delay: 0.9s;
}

.form-group:nth-child(10) {
    animation-delay: 1.0s;
}

/* ===== CHAT ICON STATUS STYLES ===== */
.chat-header h2 i.fas.fa-comments {
    transition: color 0.3s ease;
}

.chat-header h2 i.fas.fa-comments.text-success {
    color: #28a745 !important;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.chat-header h2 i.fas.fa-comments.text-danger {
    color: #dc3545 !important;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* ===== TOOLTIP STYLES ===== */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

/* Ensure tooltips are always on top */
.form-group .tooltip {
    position: absolute !important;
    z-index: 99999 !important;
    pointer-events: none !important;
}

.form-control.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.tooltip {
    position: absolute;
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 250px;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #dc3545;
}

.tooltip.top {
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
}

.tooltip.top::before {
    top: 100%;
    left: 20px;
    border-top: 5px solid #dc3545;
    border-bottom: none;
}

.tooltip.bottom {
    top: 100%;
    left: 0;
    margin-top: 8px;
}

.tooltip.bottom::before {
    bottom: 100%;
    left: 20px;
    border-bottom: 5px solid #dc3545;
    border-top: none;
}

/* Success tooltip */
.tooltip.success {
    background: #28a745;
}

.tooltip.success::before {
    border-bottom-color: #28a745;
}

.tooltip.success.top::before {
    border-top-color: #28a745;
}

.tooltip.success.bottom::before {
    border-bottom-color: #28a745;
}

/* Warning tooltip */
.tooltip.warning {
    background: #ffc107;
    color: #212529;
}

.tooltip.warning::before {
    border-bottom-color: #ffc107;
}

.tooltip.warning.top::before {
    border-top-color: #ffc107;
}

.tooltip.warning.bottom::before {
    border-bottom-color: #ffc107;
}

/* Medical Disclaimer Styles */
.medical-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.disclaimer-text {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInDown 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert i {
    font-size: 16px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Terms and Conditions Styles */
.terms-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.terms-details p {
    margin-bottom: 10px;
    color: #495057;
}

.terms-details ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-details li {
    margin-bottom: 8px;
    color: #495057;
}

.terms-details strong {
    color: #212529;
}

.terms-warning {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    color: #721c24 !important;
    font-weight: 600;
    margin-top: 15px;
}

.form-check-label {
    font-weight: 600;
    color: #212529;
    cursor: pointer;
}

.form-check-input:checked+.form-check-label {
    color: #28a745;
}

/* Disabled Button Styles */
.btn-disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-disabled:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Form Section Styles for Patient Registration */
.form-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--primary-brown);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-yellow);
    font-size: 1.1rem;
}

.form-section .form-group {
    margin-bottom: 20px;
}

.form-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-section .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-section .form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(252, 194, 0, 0.25);
    background: #ffffff;
}

.form-section textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-section select.form-control {
    cursor: pointer;
}

/* Responsive adjustments for form sections */
@media (max-width: 768px) {
    .form-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

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