﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 30px 15px;
    min-height: 100vh;

    font-family: "Roboto", sans-serif;

    background:
        linear-gradient(
            135deg,
            #f4f8fb,
            #eaf2f8
        );

    color: #1f2937;
}

.container {
    width: 100%;
    max-width: 520px;

    margin: 30px auto;
    padding: 30px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.10);
}

h1 {
    margin: 0 0 12px;

    text-align: center;

    font-size: 28px;
}

h1 i {
    margin-right: 8px;
}

.subtitle {
    margin: 0 0 28px;

    text-align: center;

    line-height: 1.6;

    color: #5f6b7a;
}

.step {
    margin-bottom: 24px;
}

.step h2 {
    margin: 0 0 18px;

    font-size: 20px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-weight: 500;
}

input {
    width: 100%;

    padding: 13px 14px;

    margin-bottom: 18px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 13px 16px;

    border: none;

    border-radius: 8px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 500;

    cursor: pointer;

    transition:
        opacity 0.2s,
        transform 0.1s;
}

.btn:hover {
    opacity: 0.92;
}

.btn:active {
    transform: scale(0.99);
}

.primary-btn {
    background: #2563eb;

    color: #ffffff;
}

.secondary-btn {
    background: #64748b;

    color: #ffffff;
}

.error-message,
.success-message {
    display: none;

    margin-top: 18px;

    padding: 12px 14px;

    border-radius: 8px;

    line-height: 1.5;
}

.error-message {
    background: #fee2e2;

    color: #991b1b;
}

.success-message {
    background: #dcfce7;

    color: #166534;
}

.navigation {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;
}

@media (max-width: 600px) {

    body {
        padding: 15px 10px;
    }

    .container {
        margin: 10px auto;

        padding: 22px 18px;
    }

    h1 {
        font-size: 24px;
    }

    .step h2 {
        font-size: 18px;
    }
}
