/* ==========================================
   MODAL DE BOAS-VINDAS (PRIMEIRO ACESSO)
   ========================================== */

.welcome-first-time-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.welcome-first-time-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-first-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

/* Header com gradiente */
.welcome-first-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    border-radius: 24px 24px 0 0;
    color: white;
}

.welcome-first-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 1s ease infinite;
}

.welcome-first-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

.welcome-first-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

/* Body com passos */
.welcome-first-body {
    padding: 40px 30px;
}

.welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.welcome-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 16px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.welcome-step:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.welcome-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.welcome-step-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.welcome-step-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Footer com ações */
.welcome-first-footer {
    padding: 0 30px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-welcome-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-welcome-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-welcome-secondary {
    background: transparent;
    color: #64748b;
    border: none;
    padding: 12px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-welcome-secondary:hover {
    color: #1e293b;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .welcome-first-content {
        max-width: 95%;
        border-radius: 20px;
    }

    .welcome-first-header {
        padding: 30px 20px;
    }

    .welcome-first-icon {
        font-size: 48px;
    }

    .welcome-first-header h2 {
        font-size: 1.5rem;
    }

    .welcome-first-header p {
        font-size: 1rem;
    }

    .welcome-first-body {
        padding: 30px 20px;
    }

    .welcome-step {
        padding: 16px;
    }

    .welcome-step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .welcome-step-content h3 {
        font-size: 1rem;
    }

    .welcome-step-content p {
        font-size: 0.9rem;
    }

    .btn-welcome-primary {
        padding: 14px 24px;
        font-size: 1rem;
    }
}