:root {
    --primary-blue: #4A80C3;
    --dark-blue: #1A2F4C;
    --text-main: #333333;
    --text-muted: #888888;
    --border-color: #D1D5DB;
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --font-family: 'Outfit', sans-serif;
    --error-red: #EF4444;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}

.container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    /* Adicionada animação de transição de páginas */
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-register {
    max-width: 520px;
    /* Aumentado levemente para o novo form */
}

.card-header {
    margin-bottom: 2rem;
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-fly {
    color: var(--primary-blue);
}

.logo-today {
    color: var(--dark-blue);
}

.title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    line-height: 1.3;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--text-main);
    transition: all 0.2s ease;
}

input::placeholder {
    color: #A0AAB5;
}

input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 128, 195, 0.1);
}

.error-text {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.btn {
    background-color: var(--dark-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn:hover {
    background-color: #122136;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(26, 47, 76, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.mt-4 {
    margin-top: 1rem;
}

/* Estilos de Instruções e Progresso */
.instructions-content {
    background-color: #F0F4F8;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
}

.instructions-list {
    list-style-position: inside;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
}

.instructions-list li {
    margin-bottom: 0.5rem;
}

.progress-badge {
    background-color: rgba(74, 128, 195, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.95rem;
}

/* Responsividade Básica */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}

/* Estilos para o Upload de Planilha (Dropzone) */
.dropzone {
    border: 2px dashed var(--primary-blue);
    border-radius: 12px;
    padding: 2.5rem 1rem;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: 0.5rem;
}

.dropzone:hover,
.dropzone.dragover {
    background-color: rgba(74, 128, 195, 0.05);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* --- ESTILOS SUCESSO PREMIUM --- */

.success-animation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #fff;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px #4bb71b;
    }
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn-success-action {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem !important;
}

.btn-secondary {
    background-color: #E2E8F0 !important;
    color: #475569 !important;
}

.btn-secondary:hover {
    background-color: #CBD5E1 !important;
    color: #1E293B !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05) !important;
}

.icon {
    font-size: 1.2rem;
}