:root {
    --primary-blue: #0084c7;
    --success-green: #16a34a;
    --success-red: #ef4444;
    --light-blue: #e1f5fe;
    --border-color: #72c7f2;
    --text-gray: #757575;
    --bg-grid: #f8fbfe;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-grid);
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 132, 199, .05) 25%, rgba(0, 132, 199, .05) 26%, transparent 27%, transparent 74%, rgba(0, 132, 199, .05) 75%, rgba(0, 132, 199, .05) 76%, transparent 77%, transparent), 
                      linear-gradient(90deg, transparent 24%, rgba(0, 132, 199, .05) 25%, rgba(0, 132, 199, .05) 26%, transparent 27%, transparent 74%, rgba(0, 132, 199, .05) 75%, rgba(0, 132, 199, .05) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.modal {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.icon-box svg { width: 30px; height: 30px; fill: var(--primary-blue); }

h2 { font-size: 22px; margin-bottom: 10px; color: #333; }

.form-group { text-align: left; margin-bottom: 20px; }

label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
}

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

.input-wrapper svg {
    position: absolute;
    left: 12px;
    width: 18px; height: 18px;
    fill: var(--primary-blue);
}

input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    outline: none;
}

/* Стили кнопки */
.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-height: 50px;
}

.hidden { display: none !important; }

/* Анимация вращения лоадера */
.loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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

.back-link {
    display: block;
    margin-top: 25px;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
}