/* =========================================
   signup-investor.css — Estilos específicos para signup-investor.html
   Complementa login.css + signup.css
   ========================================= */

/* Container ajustado para formulário multi-step */
.investor-signup-container {
    max-height: 95vh;
}

/* Hero section no lado esquerdo */
.investor-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    color: #fff;
}

.investor-hero-icon {
    font-size: 3.5rem;
    color: #FF8400;
    margin-bottom: 1rem;
}

.investor-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}

.investor-hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 280px;
    margin: 0 auto;
}

/* Step indicators */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #FF8400;
    color: #fff;
}

.step-dot.completed {
    background: #4caf50;
    color: #fff;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e0e0e0;
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.step-line.active {
    background: #FF8400;
}

/* Form steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

#step2.active {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 8px;
}

#step2::-webkit-scrollbar {
    width: 4px;
}

#step2::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

#step2::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.2rem;
    text-align: center;
}

/* Investor type selector */
.investor-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.type-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    color: #666;
}

.type-option input[type="radio"] {
    display: none;
}

.type-option i {
    font-size: 1.4rem;
}

.type-option.active {
    border-color: #FF8400;
    background: rgba(255, 132, 0, 0.05);
    color: #FF8400;
}

.type-option:hover {
    border-color: #FF8400;
}

/* Step buttons row */
.step-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.step-buttons .btn-signin {
    flex: 1;
}

.btn-secondary {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.btn-secondary:hover {
    background: #d0d0d0 !important;
}

/* Terms checkbox */
.terms-check {
    margin: 1rem 0;
    font-size: 0.82rem;
    color: #666;
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.terms-check input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #FF8400;
}

.terms-check a {
    color: #FF8400;
    text-decoration: underline;
}

/* Investor fields transition */
.investor-fields {
    transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .investor-hero {
        padding: 2rem 1.5rem;
    }

    .investor-hero-title {
        font-size: 1.4rem;
    }

    .investor-hero-icon {
        font-size: 2.5rem;
    }

    .step-indicators {
        margin-bottom: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .step-title {
        color: #eee;
    }

    .step-dot {
        background: #444;
        color: #aaa;
    }

    .step-line {
        background: #444;
    }

    .type-option {
        border-color: #444;
        color: #aaa;
    }

    .type-option.active {
        border-color: #FF8400;
        background: rgba(255, 132, 0, 0.1);
        color: #FF8400;
    }

    .btn-secondary {
        background: #444 !important;
        color: #eee !important;
    }

    .terms-check {
        color: #aaa;
    }
}
