﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f8faf9;
    color: #172018;
}

main {
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.brand {
    margin-bottom: 32px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #172018;
}

.auth-header {
    text-align: center;
}

    .auth-header h1 {
        margin: 0 0 12px;
        font-size: 26px;
        line-height: 1.3;
    }

    .auth-header p {
        margin: 0;
        color: #68736b;
        font-size: 15px;
        line-height: 1.6;
    }

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    background: #172018;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .primary-button:hover {
        background: #29332b;
    }

.login-action {
    margin-top: 28px;
}

.error-icon {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.error-icon svg {
    width:60px;
    height:60px;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 16px;
    }

    .auth-card {
        padding: 28px 22px;
        border-radius: 10px;
        box-shadow: none;
    }
}

.error-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.error-code {
    margin-bottom: 16px;
    font-size: 96px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -5px;
}

.error-container h1 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.description {
    max-width: 420px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #68736b;
}

.actions {
    margin-top: 28px;
    width: 180px;
}

.footer {
    margin-top: 48px;
    font-size: 13px;
    color: #8a948d;
}

@media (max-width: 480px) {
    .error-container {
        padding: 20px;
    }

    .error-code {
        font-size: 76px;
    }

    .error-container h1 {
        font-size: 24px;
    }

    .description {
        font-size: 15px;
    }

    .footer {
        margin-top: 40px;
    }
}
