/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --accent-blue: #0A3D7C;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #616161;
    --success-green: #4CAF50;
    --error-red: #f44336;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--light-blue);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-register {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

.btn-register:hover {
    background-color: var(--accent-blue);
}

.btn-book {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
}

.btn-book:hover {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

.staff-login {
    color: var(--accent-blue) !important;
    font-weight: 600;
}

/* ==========================================================================
   Hero & Buttons
   ========================================================================== */
.hero {
    background: var(--light-blue); 
    padding: 4rem 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ==========================================================================
   Booking & Form Enhancements
   ========================================================================== */
.form-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-option {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option:hover, .service-option.selected {
    border-color: var(--primary-blue);
    background-color: #f0f7ff;
}

.service-option.selected {
    transform: translateY(-5px);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.time-slot {
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot.selected {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ==========================================================================
   About Page Specifics
   ========================================================================== */

/* Layout Fixes */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start; /* Prevents text and image heights from forcing each other to stretch */
}

/* Gallery Fix: Prevents images from stretching down */
.clinic-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.clinic-image {
    height: 200px; /* Fixed height for uniformity */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Key fix: crops image to fill box without stretching */
    display: block;
}

/* Dentist Cards: Ensuring professional alignment */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.dentist-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards in a row equal height */
}

.dentist-image {
    height: 250px; /* Fixed height for all dentist portraits */
    overflow: hidden;
}

.dentist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents face-stretching */
}

.dentist-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dentist-bio {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Statistics Styling */
.stats-box {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.stats-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 1.5rem; 
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Login & Dashboard Portals
   ========================================================================== */
.login-page {
    background: linear-gradient(135deg, #0A3D7C 0%, #0D47A1 50%, #E3F2FD 100%);
    min-height: 100vh;
}

.login-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 2.5rem;
    text-align: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

/* ==========================================================================
   Animations & Alerts
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-alert, .confirmation-message.show {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    animation: fadeIn 0.5s ease;
    text-align: center;
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 45px;
    filter: brightness(0) invert(1); /* Makes logo white to match footer */
}

.footer-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-tagline {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Footer Titles & Links */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--light-blue);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--light-blue);
}

/* Contact Info in Footer */
.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-info i {
    margin-top: 4px;
    width: 20px;
    color: var(--light-blue);
}

/* Footer Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2rem 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.accreditations {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .accreditations {
        justify-content: center;
    }
}

/* ==========================================================================
   Media Queries (Consolidated)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .contact-container, .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--light-blue);
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { left: 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons, .footer-bottom { 
        flex-direction: column; 
        align-items: center; 
    }
    .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title, .section-title { font-size: 1.8rem; }
    .form-card { padding: 1.5rem; }
    .service-options { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --accent-blue: #0A3D7C;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #616161;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

/* ==========================================================================
   Booking Page Layout
   ========================================================================== */
.form-container {
    padding: 4rem 0;
    background-color: var(--light-gray);
    min-height: calc(100vh - 400px);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

/* ==========================================================================
   Multi-Step Progress Bar
   ========================================================================== */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--medium-gray);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 10px;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--medium-gray);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: 0.3s;
}

.step.active .step-number {
    background: var(--primary-blue);
    box-shadow: 0 0 0 5px var(--light-blue);
}

/* ==========================================================================
   Refined Selection Styles (Doctor & Services)
   ========================================================================== */

/* Dentist Select - Premium Look */
.dentist-select-container {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.dentist-select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-blue);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D47A1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dentist-select:hover {
    border-color: var(--primary-blue);
    background-color: #fafcfe;
}

.dentist-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

/* Service Selection Cards */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.service-option {
    border: 2px solid var(--medium-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option.active, .service-option:hover {
    border-color: var(--primary-blue);
    background-color: var(--light-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   Clock / Time Slot Interaction
   ========================================================================== */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 1.5rem;
}

.time-slot {
    padding: 1rem 0.5rem;
    border: 2px solid var(--medium-gray);
    background: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State */
.time-slot:not(.unavailable):hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: var(--light-blue);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
}

/* Active State (The Fixed Selection Look) */
.time-slot.active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.time-slot.unavailable {
    background-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    border-style: dashed;
}

/* ==========================================================================
   Buttons & Extras
   ========================================================================== */
.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

.info-box {
    background-color: var(--light-blue);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
/* --- Global & Layout --- */
:root {
    --primary-blue: #004a99;
    --light-blue-bg: #f1f8ff;
    --border-blue: #d0e3f5;
    --emergency-yellow: #fff3cd;
    --emergency-text: #856404;
    --success-green: #d4edda;
    --error-red: #dc3545;
    --white: #ffffff;
    --dark-gray: #444;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Emergency Alert Bar --- */
.emergency-alert-bar {
    background-color: var(--emergency-yellow);
    color: var(--emergency-text);
    padding: 12px;
    text-align: center;
    font-size: 0.95rem;
    border-bottom: 1px solid #ffeeba;
}

/* --- Form Specifics --- */
.contact-form-section {
    margin: 0;
}

.form-title {
    text-align: left;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.btn-full {
    width: 100%;
}

.error-message {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-control.error {
    border-color: var(--error-red);
}

.success-banner {
    background: var(--success-green);
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

/* --- Sidebar & Interactive Map --- */
.info-card {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.info-heading {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-text {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-interactive-box {
    background-color: var(--light-blue-bg);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    margin: 25px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.map-interactive-box:hover {
    background-color: #e6f2ff;
}

.pin-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: block;
}

.map-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.map-sublink {
    font-size: 0.85rem;
    color: #666;
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.text-danger {
    color: var(--error-red);
}

/* --- Footer CTA --- */
.footer-book-btn {
    padding: 0.5rem 1rem;
    color: white !important;
}
/* Registration Card Layout */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f4f7f9;
    min-height: 80vh;
}

.registration-card {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ed;
}

.form-title {
    color: #0D47A1;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* Fix Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* Prevents input from stretching outside card */
}

/* Success/Error Styling */
.error-box {
    background: #fff5f5;
    color: #d9534f;
    padding: 15px;
    border-radius: 6px;
    border-left: 5px solid #d9534f;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.success-box {
    background: #f0fff4;
    color: #28a745;
    padding: 15px;
    border-radius: 6px;
    border-left: 5px solid #28a745;
    margin-bottom: 20px;
}

/* Button Styling */
.btn-register {
    width: 100%;
    background-color: #0D47A1;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-register:hover {
    background-color: #08367a;
}

.hidden { display: none; }

/* Back to Home Link */
.back-home {
    margin-bottom: 20px;
}

.back-home a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-home a i {
    margin-right: 5px;
}

.back-home a:hover {
    color: #0D47A1;
}

/* Form Footer (Login link) */
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: #0D47A1;
    text-decoration: none;
    font-weight: bold;
}

.form-footer a:hover {
    text-decoration: underline;
}