﻿:root {
    --primary: #4e73df;
    --primary-dark: #2e59d9;
    --primary-light: #7a93e8;
    --secondary: #2c3e50;
    --success: #1cc88a;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --info: #36b9cc;
    --light: #f8f9fc;
    --dark: #5a5c69;
}

body {
    background-color: #f8f9fc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #5a5c69;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.login-header {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #d1d3e2;
    padding: 12px 15px;
    transition: all 0.3s;
    color: #6e707e;
    height: 45px;
}

    .form-control:focus {
        border-color: var(--primary-light);
        box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
    width: 100%;
    height: 45px;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
    }

.form-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.login-footer {
    padding: 15px 30px;
    background-color: #f8f9fc;
    border-top: 1px solid #e3e6f0;
    text-align: center;
    color: #6e707e;
    font-size: 0.9rem;
}

.code-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.code-input {
    width: 100%;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #d1d3e2;
    border-radius: 8px;
    transition: all 0.3s;
}

    .code-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    }

.timer {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark);
}

.timer-expired {
    color: var(--danger);
}

.resend-link {
    text-align: center;
    margin-top: 15px;
}

    .resend-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        .resend-link a:hover {
            text-decoration: underline;
        }

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d3e2;
    margin: 0 5px;
}

    .step.active {
        background-color: var(--primary);
    }

.back-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

    .back-link:hover {
        text-decoration: underline;
        color: var(--primary-dark);
    }

.alert {
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .login-container {
        margin: 20px;
    }

    .login-body {
        padding: 20px;
    }

    .code-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
}
