﻿html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f7;
    color: #222;
}

body {
    min-height: 100vh;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.login-panel {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    padding: 32px;
    box-sizing: border-box;
}

.login-title {
    margin: 0 0 28px 0;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    color: #ff6600;
}

.login-field {
    margin-bottom: 20px;
}

    .login-field label {
        display: block;
        margin-bottom: 7px;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
        color: #333;
    }

    .login-field input,
    .login-field select {
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        border: 1px solid #b9bec6;
        border-radius: 5px;
        background: #fff;
        color: #222;
        font: inherit;
        font-size: 15px;
        padding: 9px 11px;
        outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

        .login-field input:focus,
        .login-field select:focus {
            border-color: #777;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
        }

        .login-field input:disabled,
        .login-field select:disabled {
            background: #f0f1f3;
            color: #777;
            cursor: not-allowed;
        }

.login-message {
    margin: 0 0 22px 0;
    padding: 11px 13px;
    border: 1px solid #d8a1a1;
    border-radius: 5px;
    background: #fff2f2;
    color: #8b2020;
    font-size: 14px;
    line-height: 1.4;
}

    .login-message[hidden] {
        display: none;
    }

.login-actions {
    margin-top: 28px;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border-radius: 5px;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

    .login-submit:hover {
        background: #111;
        color: #fff;
        text-decoration: none;
    }

    .login-submit:focus-visible {
        outline: 3px solid rgba(0, 0, 0, 0.22);
        outline-offset: 2px;
    }

    .login-submit[aria-disabled="true"] {
        opacity: 0.55;
        cursor: wait;
        pointer-events: none;
    }

@media (max-width: 600px) {
    .login-container {
        padding: 16px;
        align-items: flex-start;
    }

    .login-panel {
        margin-top: 24px;
        padding: 24px 20px;
        border-radius: 6px;
    }

    .login-title {
        font-size: 23px;
        margin-bottom: 24px;
    }
}
