﻿:root {
    --primary: #004080;
    --primary-light: #0066CC;
    --primary-dark: #00264D;
    --accent: #F3BD00;
    --accent-light: #FFD54F;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray: #64748B;
    --dark-gray: #334155;
    --border-radius: 12px;
    --shadow: 0 8px 30px rgba(0, 64, 128, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 64, 128, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.modern-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Left Panel - Top Aligned */
.left-panel {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: auto;
    min-height: 100vh;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 10%, rgba(243, 189, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-circle {
    width: 75px;
    height: 75px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.logo-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    flex: 1;
}

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.logo-text .tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    padding: 0;
    text-align: justify;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--white);
}

.feature-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Right Panel - Top Aligned */
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--light-gray);
    overflow-y: auto;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 505px;
    margin: 0 auto;
    padding: 10px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    width: 100%;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.auth-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 40px;
    border: 1px solid #E2E8F0;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    background: none;
    font-family: 'Inter', sans-serif;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.1);
}

/* Forms */
.auth-form {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-label.required::after {
    content: " *";
    color: #EF4444;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    background: var(--white);
    color: var(--dark-gray);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1);
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
}

.forgot-link {
    text-align: right;
    margin-bottom: 24px;
}

.forgot-link a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-link a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 64, 128, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(243, 189, 0, 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
    color: var(--gray);
    font-size: 15px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Forgot Password Card */
.forgot-password-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    display: none;
    animation: fadeIn 0.4s ease;
    margin-top: 0;
    width: 100%;
}

.back-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.back-button:hover {
    color: var(--primary-light);
    transform: translateX(-5px);
}

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

.forgot-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.forgot-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Footer Info */
.footer-info {
    margin: 20px 0 0 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-info h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Contact Button */
.contact-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

.contact-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0, 64, 128, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.contact-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 64, 128, 0.4);
}

.contact-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: #F1F5F9;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.contact-text p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mb-4 {
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 24px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

/* Large Tablets and Small Laptops */
@media (max-width: 1200px) {
    .modern-container {
        flex-direction: row;
    }
    
    .left-panel {
        padding: 30px 25px;
    }
    
    .welcome-title {
        font-size: 36px;
    }
    
    .auth-header h2 {
        font-size: 28px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .modern-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .left-panel {
        min-height: auto;
        padding: 30px 25px;
        flex: none;
    }
    
    .right-panel {
        min-height: auto;
        padding: 30px 25px;
    }
    
    .welcome-title {
        font-size: 32px;
        text-align: center;
    }
    
    .welcome-description {
        text-align: center;
        padding: 0 15px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-float {
        bottom: 30px;
        right: 30px;
    }
}

/* Large Mobile Devices */
@media (max-width: 768px) {
    .modern-container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 25px 20px;
    }
    
    .right-panel {
        padding: 25px 20px;
    }
    
    .auth-card,
    .forgot-password-card {
        padding: 25px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .welcome-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text .tagline {
        font-size: 14px;
    }
    
    .welcome-description {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .auth-header h2 {
        font-size: 26px;
    }
    
    .auth-header p {
        font-size: 15px;
    }
    
    .auth-tabs {
        margin-bottom: 30px;
    }
    
    .auth-tab {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .contact-float {
        bottom: 25px;
        right: 25px;
    }
    
    .contact-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .footer-info {
        margin: 15px 0 0 0;
        padding: 15px;
    }
    
    .footer-info h4 {
        font-size: 15px;
    }
    
    .footer-info p {
        font-size: 13px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .left-panel {
        padding: 20px 15px;
    }
    
    .right-panel {
        padding: 20px 15px;
    }
    
    .auth-card,
    .forgot-password-card {
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .logo-circle {
        width: 65px;
        height: 65px;
    }
    
    .logo-circle img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text .tagline {
        font-size: 13px;
    }
    
    .welcome-description {
        font-size: 14px;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .feature-content h4 {
        font-size: 15px;
    }
    
    .feature-content p {
        font-size: 13px;
    }
    
    .auth-header {
        margin-bottom: 30px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .auth-header p {
        font-size: 14px;
    }
    
    .auth-tabs {
        flex-direction: row;
        margin-bottom: 25px;
    }
    
    .auth-tab {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-control {
        padding: 11px 13px;
        font-size: 14px;
    }
    
    .btn {
        padding: 14px;
        font-size: 15px;
    }
    
    .auth-footer {
        font-size: 14px;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .contact-float {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-item {
        padding: 15px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-text h4 {
        font-size: 15px;
    }
    
    .contact-text p {
        font-size: 14px;
    }
    
    .footer-info {
        margin: 15px 0 0 0;
        padding: 12px;
    }
    
    .footer-info h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .footer-info p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .toggle-password {
        right: 12px;
        padding: 2px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .left-panel {
        padding: 15px 12px;
    }
    
    .right-panel {
        padding: 15px 12px;
    }
    
    .auth-card,
    .forgot-password-card {
        padding: 18px;
    }
    
    .welcome-title {
        font-size: 22px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .logo-circle img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 17px;
    }
    
    .auth-header h2 {
        font-size: 22px;
    }
    
    .auth-tab {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .contact-float {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-btn {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .modern-container {
        flex-direction: row;
        min-height: auto;
    }
    
    .left-panel {
        min-height: auto;
        overflow-y: auto;
        max-height: 100vh;
    }
    
    .right-panel {
        min-height: auto;
        overflow-y: auto;
        max-height: 100vh;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .features-grid {
        display: none; /* Hide features in landscape to save space */
    }
    
    .auth-card {
        margin-top: 0;
        padding: 20px;
    }
    
    .auth-header {
        margin-bottom: 20px;
    }
    
    .auth-header h2 {
        font-size: 22px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 12px;
    }
}

/* Print Styles */
@media print {
    .modern-container {
        flex-direction: column !important;
        min-height: auto !important;
    }
    
    .left-panel {
        background: white !important;
        color: black !important;
        padding: 20px !important;
        border-bottom: 2px solid #ccc;
    }
    
    .right-panel {
        padding: 20px !important;
    }
    
    .auth-card {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
    
    .contact-float,
    .contact-modal {
        display: none !important;
    }
    
    .welcome-title {
        -webkit-text-fill-color: black !important;
        background: none !important;
    }
    
    .welcome-description {
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --primary-light: #0000CC;
        --accent: #FFD700;
        --accent-light: #FFFF00;
    }
    
    .feature-item,
    .footer-info {
        border: 2px solid var(--white);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .contact-btn::after {
        animation: none;
    }
}

/* ===============================
   AUTH FEEDBACK MESSAGES
   =============================== */

.form-group .success-message,
.form-group .error-message {
/*    padding: 1rem 1.1rem;*/
    border-radius: 10px;
/*    margin-bottom: 1rem;*/
    font-size: 0.95rem;
    line-height: 1.45;
    animation: authFadeSlide 0.25s ease;
    position: relative;
}

/* SUCCESS */
.form-group .success-message {
    background: #ecfdf3;
    color: #027a48;
    border-left: 5px solid #12b76a;
}

/* ERROR */
.form-group .error-message {
    background: #fdeaea !important;
    color: #f00;
    border-left: 5px solid #e53935;
    padding: 5px;
}

/* PARAGRAPH RESET */
.form-group .success-message p,
.form-group .error-message p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

/* ICON STYLING */
.form-group .success-message i,
.form-group .error-message i {
    font-size: 1.15rem;
    margin-top: 2px;
}

/* RESEND / ACTION LINKS */
.form-group .success-message a,
.form-group .error-message a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.25rem;
}

.form-group .success-message a:hover,
.form-group .error-message a:hover {
    opacity: 0.85;
}

/* MULTIPLE ERRORS SPACING */
.form-group .error-message p + p,
.form-group .success-message p + p {
    margin-top: 0.4rem;
}

/* ANIMATION */
@keyframes authFadeSlide {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Spinner wrapper */
.spinner-reg {
    margin: 12px auto;
    width: 70px;
    text-align: center;
}

/* Hide utility */
.display-none {
    display: none;
}

/* Dots */
.spinner-reg > div {
    width: 14px;
    height: 14px;
    background-color: #2d6cdf; /* primary blue – change if needed */
    border-radius: 100%;
    display: inline-block;
    animation: spinner-bounce 1.4s infinite ease-in-out both;
}

/* Animation delays */
.spinner-reg .bounce1 {
    animation-delay: -0.32s;
}

.spinner-reg .bounce2 {
    animation-delay: -0.16s;
}

/* Bounce animation */
@keyframes spinner-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.6;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
