* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 38px 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.brand-area {
    text-align: center;
    margin-bottom: 28px;
}

.brand-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-size: 14px;
    color: #64748b;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group.recaptcha-group {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

        .form-group.recaptcha-group .g-recaptcha {
            margin-left: auto;
            margin-right: auto;
            transform-origin: center top;
        }

@media (max-width: 480px) {
    .form-group.recaptcha-group .g-recaptcha {
        transform: scale(0.84);
    }
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    color: #0f172a;
    background: #fff;
    transition: 0.2s ease;
}

    .form-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    margin-top: 4px;
}


.login-error {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 14px auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffe5e5;
    color: #c62828;
    border: 1px solid #f5b5b5;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.login-button:active {
    transform: scale(0.99);
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .brand-title {
        font-size: 24px;
    }
}
