:root {
    --background: #F8F9FB; /* Fundo bem claro inspirado no print */
    --card-bg: #FFFFFF;
    --text-main: #111827;
    --text-muted: #6B7280;
    --primary-color: #0B3D91; /* Cor extraída do print */
    --primary-hover: #082d6b;
    --border-color: #E5E7EB;
    --input-focus-ring: rgba(11, 61, 145, 0.2);
    --font-family: 'Noto Sans', sans-serif; /* Fonte confirmada no print */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 32px;
}

.card {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 400px; /* Largura baseada no print do dev tools */
    padding: 32px 40px; /* Padding de 32px 40px como no print */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo {
    height: 48px; /* Altura do logo 48px confirmada no print */
    width: auto;
    object-fit: contain;
}

.title {
    font-size: 1.125rem; /* ~18px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    color: var(--text-main);
}

.subtitle {
    font-size: 0.875rem; /* 14px */
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label {
    font-size: 0.8125rem; /* ~13px */
    font-weight: 600;
    color: var(--text-main);
}

.link-secondary {
    font-size: 0.8125rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.link-secondary:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 24px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
    color: #9CA3AF;
}

.input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-bottom: 24px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-icon {
    width: 14px;
    height: 14px;
    margin-left: 6px;
}

.passkey-container {
    text-align: center;
}

.link-primary {
    font-size: 13px; /* Especificado no print */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.link-primary:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.trouble-signing-in {
    width: 100%;
    max-width: 448px; /* Confirmado no print do dev tools */
    text-align: center;
    padding: 0 16px;
}

.trouble-signing-in h2 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.trouble-signing-in p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 0.75rem; /* text-sm equivalente ~12px no footer geralmente */
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}


/* Legal Pages Styles */
.legal-page {
    background-color: var(--background);
    min-height: 100vh;
}

.legal-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    justify-content: center;
}

.legal-header .container {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
}

.legal-header .logo {
    height: 32px;
}

.legal-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.legal-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.legal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 16px;
}

.legal-body ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-body li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 8px;
}

.legal-body a {
    color: var(--primary-color);
    text-decoration: underline;
}


/* Verify Page Styles */
.verify-header {
    margin-bottom: 32px;
}
.verify-title {
    font-size: 17px;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 4px;
    line-height: 24px;
}
.verify-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.verify-email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0px;
}
.verify-email {
    font-size: 14px;
    color: var(--text-muted);
}
.edit-link {
    display: flex;
    align-items: center;
    justify-content: center;
}
.edit-icon {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
    cursor: pointer;
}

.otp-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.otp-input {
    width: 46px;
    height: 36px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
    background-color: #FFFFFF;
    transition: all 0.2s;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.15);
}

.resend-text {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 20px;
}

.btn-icon {
    margin-left: 8px;
    font-size: 0.75rem;
}
