/* Tela inicial do eleitor (Welcome) */

body.admin-login-page.voter-welcome-page {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
}

body.admin-login-page.voter-welcome-page > .admin-topbar,
body.public-content-page.voter-welcome-page > .admin-topbar {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    align-self: stretch;
    position: relative;
    top: 0;
    left: 0;
}

.voter-welcome-topbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
}

.voter-welcome-topbar-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voter-welcome-topbar-brand {
    min-width: 0;
    text-align: center;
}

.voter-welcome-topbar-brand strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.voter-welcome-topbar-brand span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 2px;
}

.voter-welcome-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 24px;
}

.voter-welcome-card {
    width: 100%;
    max-width: 720px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    padding: 40px 32px 36px;
    text-align: center;
}

.voter-welcome-logo {
    margin-bottom: 24px;
}

.voter-welcome-logo img {
    height: 96px;
    width: auto;
    max-width: min(100%, 320px);
    object-fit: contain;
}

.voter-welcome-logo-fallback {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #4285f4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}

.voter-welcome-title {
    margin: 0 0 20px;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.voter-welcome-description {
    margin: 0 0 24px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.voter-welcome-description .text-center,
.voter-welcome-description p.text-center,
.voter-welcome-description div.text-center,
.voter-welcome-description h1.text-center,
.voter-welcome-description h2.text-center,
.voter-welcome-description h3.text-center {
    text-align: center;
}

.voter-welcome-description .text-right,
.voter-welcome-description p.text-right,
.voter-welcome-description div.text-right {
    text-align: right;
}

.voter-welcome-description .text-justify,
.voter-welcome-description p.text-justify,
.voter-welcome-description div.text-justify {
    text-align: justify;
}

.voter-welcome-description [style*="text-align: center"],
.voter-welcome-description [style*="text-align:center"] {
    text-align: center !important;
}

.voter-welcome-description [style*="text-align: right"],
.voter-welcome-description [style*="text-align:right"] {
    text-align: right !important;
}

.voter-welcome-description [style*="text-align: justify"],
.voter-welcome-description [style*="text-align:justify"] {
    text-align: justify !important;
}

.voter-welcome-description p:last-child,
.voter-welcome-description ul:last-child,
.voter-welcome-description ol:last-child {
    margin-bottom: 0;
}

.voter-welcome-description p {
    margin-bottom: 0.75em;
}

.voter-welcome-description ul,
.voter-welcome-description ol {
    margin: 0 0 0.75em 1.25em;
    padding: 0;
}

.voter-welcome-description li {
    margin-bottom: 0.35em;
}

.voter-welcome-description strong,
.voter-welcome-description b {
    font-weight: 700;
    color: #334155;
}

.voter-welcome-description a {
    color: #2563eb;
    text-decoration: underline;
}

.voter-welcome-description h1,
.voter-welcome-description h2,
.voter-welcome-description h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5em;
    color: #334155;
}

.voter-welcome-period {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.6;
    color: #334155;
    letter-spacing: 0.02em;
}

.voter-welcome-timezone {
    margin: 0 0 28px;
    font-size: 0.8125rem;
    color: #64748b;
}

.voter-welcome-timezone i {
    margin-right: 6px;
    color: #4285f4;
}

.voter-welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #4285f4);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.voter-welcome-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.42);
    filter: brightness(1.05);
    text-decoration: none;
    color: #fff;
}

.voter-welcome-copyright {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
}

@media (max-width: 600px) {
    .voter-welcome-card {
        padding: 28px 20px 24px;
    }

    .voter-welcome-description {
        text-align: center;
    }

    .voter-welcome-button {
        width: 100%;
        min-width: 0;
    }
}
