
        :root {
            --sole-green: #059973;
            --sole-green-dark: #04745a;
            --sole-text: #173a34;
            --sole-muted: #687d78;
            --sole-border: #d8e4e0;
            --sole-background: #f3f8f6;
            --sole-white: #ffffff;
            --sole-error: #b42318;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            color: var(--sole-text);
            background: var(--sole-background);
            font-family: Arial, Helvetica, sans-serif;
        }

        .login-container {
            width: 100%;
            max-width: 420px;
        }

        .brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-bottom: 24px;
        }

        .brandmark {
            width: 52px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            color: var(--sole-white);
            background: var(--sole-green);
            font-size: 24px;
            font-weight: 700;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

            .brand-text strong {
                font-size: 22px;
            }

            .brand-text small {
                margin-top: 4px;
                color: var(--sole-muted);
            }

        .login-card {
            padding: 32px;
            border: 1px solid var(--sole-border);
            border-radius: 22px;
            background: var(--sole-white);
            box-shadow: 0 20px 55px rgba(13, 65, 53, 0.10);
        }

            .login-card h1 {
                margin: 0 0 8px;
                font-size: 26px;
            }

        .login-description {
            margin: 0 0 26px;
            color: var(--sole-muted);
            line-height: 1.5;
        }

        .field {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 18px;
            font-weight: 700;
        }

            .field input:not([type]),
            .field input[type="text"],
            .field input[type="email"],
            .field input[type="password"] {
                width: 100%;
                min-height: 48px;
                padding: 11px 14px;
                border: 1px solid var(--sole-border);
                border-radius: 12px;
                outline: none;
                color: var(--sole-text);
                background: var(--sole-white);
                font-size: 16px;
            }

            .field input:focus {
                border-color: var(--sole-green);
                box-shadow: 0 0 0 3px rgba(5, 153, 115, 0.12);
            }

        .remember {
            display: flex;
            align-items: center;
            gap: 9px;
            margin: 4px 0 22px;
            color: var(--sole-muted);
        }

            .remember input {
                width: 18px;
                height: 18px;
                accent-color: var(--sole-green);
            }

        .submit-button {
            width: 100%;
            min-height: 50px;
            border: 0;
            border-radius: 12px;
            color: var(--sole-white);
            background: var(--sole-green);
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
        }

            .submit-button:hover {
                background: var(--sole-green-dark);
            }

        .validation-summary {
            margin-bottom: 18px;
            padding: 12px 14px;
            border: 1px solid #f5c2c0;
            border-radius: 10px;
            color: var(--sole-error);
            background: #fff4f3;
            line-height: 1.4;
        }

            .validation-summary:empty,
            .validation-summary.validation-summary-valid {
                display: none;
            }

        .field-validation-error {
            color: var(--sole-error);
            font-size: 13px;
            font-weight: 400;
        }

        .footer-note {
            margin: 22px 0 0;
            color: var(--sole-muted);
            text-align: center;
            font-size: 13px;
            line-height: 1.5;
        }

.field select { min-height:48px;padding:11px 14px;border:1px solid var(--sole-border);border-radius:12px;font-size:16px; }

/* Processamento do login: mantém o POST e a validação existentes. */
.submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.submit-button:disabled { cursor: wait; opacity: .8; }
.login-progress { color: var(--sole-muted); margin: 12px 0; font-size: 14px; }
.login-spinner { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: login-spin .75s linear infinite; }
.login-progress[hidden], .login-spinner[hidden] { display: none; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .login-spinner { animation: none; } }

.account-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:22px; }
.account-button { display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border:1px solid var(--sole-border);border-radius:12px;background:#fff;color:var(--sole-text);font:inherit;font-size:14px;font-weight:700;text-decoration:none;text-align:center;cursor:pointer; }
.account-button:hover { background:#e5f5ef; }
.account-button:focus-visible { outline:3px solid #0d80a2;outline-offset:3px; }
@media(max-width:480px){.account-actions .account-button{width:100%;}}

@media(max-width:480px){body{padding:16px}.login-card{padding:24px}.brand-text strong{font-size:20px}}
