﻿:root {
    --primary: #6796bf;
    --primary-light: #e8f0f7;
    --primary-dark: #4a6b99;
    --accent: #ff6b6b;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f9fc 0%, #e8f0f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.splash-icon {
    color: var(--primary);
    font-size: 64px;
    animation: slideDown 0.6s ease-out;
}

.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f9fc 0%, #e8f0f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.6s ease-in;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(103, 150, 191, 0.15);
    border: 1px solid rgba(103, 150, 191, 0.1);
    padding: 48px;
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 300px;
    z-index: 1;
    pointer-events: none;
}

.login-header h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}





.steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 12px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .step-circle.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(103, 150, 191, 0.3);
        animation: popIn 0.4s ease-out;
    }

.step-line {
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

    .step-line.active {
        background: var(--primary);
        box-shadow: 0 2px 8px rgba(103, 150, 191, 0.2);
    }

.login-form-container {
    overflow: hidden;
}

.form-step {
    animation: slideIn 0.4s ease-out;
}

.step-title {
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}

    .btn-primary:hover:not(:disabled) {
        box-shadow: 0 6px 20px rgba(103, 150, 191, 0.4) !important;
        transform: translateY(-2px);
    }

    .btn-primary:disabled {
        opacity: 0.6;
    }

.mud-text-field {
    margin-bottom: 0 !important;
}

    .mud-text-field.mb-4 {
        margin-bottom: 16px !important;
    }

    .mud-text-field.mb-6 {
        margin-bottom: 24px !important;
    }

    .mud-text-field.mt-6 {
        margin-top: 24px !important;
    }

.mud-alert {
    border-radius: 8px !important;
    border-left: 4px solid var(--accent) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .login-container {
        padding: 32px 24px;
    }

    .login-header {
        margin-bottom: 32px;
    }

    .steps-indicator {
        margin-bottom: 32px;
    }
}
