/* =========================================
   CONNEXION INVESTISSEUR
========================================= */

.investor-auth-wrap--connexion {
    display: flex;
<<<<<<< HEAD
=======
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    color: var(--text, #1a2433);
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.investor-portal .investor-sidebar__nav .nav-link i {
    width: 1.15rem;
    text-align: center;
    color: var(--primary, #037B3D);
    opacity: 0.85;
}

.investor-portal .investor-sidebar__nav .nav-link:hover {
    background-color: var(--primary-light, #e6f4ed);
    color: var(--primary-strong, #037B3D);
}

.investor-portal .investor-sidebar__nav .nav-link.active {
    background-color: var(--primary-light, #e6f4ed);
    border-left-color: var(--primary, #037B3D);
    color: var(--primary-strong, #037B3D);
    font-weight: 600;
}

.investor-portal .investor-sidebar__footer {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border, #e1e6ef);
}

/* Tuiles dashboard */
.investor-portal .investor-tiles {
    margin-bottom: 2rem;
}

.investor-portal .investor-tile {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border, #e1e6ef);
    padding: 1.35rem 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.investor-portal .investor-tile:hover {
    border-color: var(--primary, #037B3D);
    box-shadow: var(--shadow-sm, 0 8px 20px rgba(17, 24, 39, 0.06));
    color: inherit;
}

.investor-portal .investor-tile__icon {
    font-size: 1.5rem;
    color: var(--accent, #EC8D08);
    margin-bottom: 0.75rem;
    display: block;
}

.investor-portal .investor-tile__title {
    font-size: var(--heading-5, 1.0625rem);
    font-weight: 700;
    color: var(--primary-strong, #037B3D);
    margin: 0 0 0.35rem;
}

.investor-portal .investor-tile__desc {
    font-size: 0.9rem;
    color: var(--muted, #596272);
    margin: 0;
}

/* Formulaires */
.investor-portal .investor-form .form-label {
    font-weight: 600;
    color: var(--text, #1a2433);
    margin-bottom: 0.35rem;
}

.investor-portal .investor-form .form-control:focus,
.investor-portal .investor-form .form-select:focus {
    border-color: var(--primary, #037B3D);
    box-shadow: 0 0 0 0.2rem rgba(3, 123, 61, 0.15);
}

.investor-portal .investor-form .form-check-input:checked {
    background-color: var(--primary, #037B3D);
    border-color: var(--primary, #037B3D);
}

.investor-portal .investor-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.35rem 1rem;
}

.investor-portal .page-card .investor-form__actions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border, #e1e6ef);
}

/* Auth centré */
.investor-portal .investor-auth-wrap {
    max-width: 520px;
    margin: 0 auto;
}

.investor-portal .investor-auth-wrap--wide {
    max-width: 100%;
}

.investor-portal .investor-auth-wrap--register {
    max-width: 900px;
    margin: 0 auto;
}

.investor-portal .investor-status-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.investor-portal .investor-status-card__icon {
    font-size: 2.5rem;
    color: var(--primary, #037B3D);
    margin-bottom: 1rem;
}

.investor-portal .investor-status-card__lead {
    font-size: var(--text-lg, 1.125rem);
    color: var(--text, #1a2433);
    margin-bottom: 0.75rem;
}

.investor-portal .investor-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Page publique QR — inscription externe */
.investor-portal .investor-qr-card {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.75rem;
    border-top: 3px solid var(--primary, #037B3D);
}

.investor-portal .investor-qr-card__intro {
    color: var(--text, #1a2433);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.investor-portal .investor-qr-card__figure {
    margin: 0 auto;
    max-width: 20rem;
}

.investor-portal .investor-qr-card__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--border, #e1e6ef);
    box-shadow: var(--shadow-sm, 0 8px 20px rgba(17, 24, 39, 0.06));
}

.investor-portal .investor-qr-card__caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-strong, #037B3D);
}

.investor-portal .investor-landing-actions .btn-link {
    align-self: center;
    color: var(--primary-strong, #037B3D);
    font-weight: 600;
}

.investor-portal .page-card h2.investor-section-title,
.investor-portal .investor-section-title {
    font-size: var(--heading-3, 1.375rem);
    font-weight: 700;
    color: var(--primary-strong, #037B3D);
    margin: 0 0 1rem;
}

.investor-portal .investor-filters .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted, #596272);
}

.investor-portal .alert {
    border-radius: 0;
}

/* ——— Espace connecté (console professionnelle) ——— */
.investor-portal--connected {
    background: linear-gradient(180deg, var(--bg, #f4f6fb) 0%, #fff 12rem);
}

.investor-portal--connected .investor-page-header .page-hero h1 {
    font-size: var(--heading-2, 1.75rem);
}

.investor-portal--connected .investor-page-header .section-divider {
    margin-bottom: 1.5rem;
}

.investor-portal--connected .investor-workspace {
    min-width: 0;
}

.investor-portal--connected .page-card {
    box-shadow: var(--shadow-sm, 0 8px 20px rgba(17, 24, 39, 0.06));
}

/* Bandeau d’accueil */
.investor-portal .investor-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--border, #e1e6ef);
    border-left: 4px solid var(--primary, #037B3D);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm, 0 8px 20px rgba(17, 24, 39, 0.06));
}

.investor-portal .investor-welcome__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.investor-portal .investor-welcome__avatar,
.investor-portal .investor-sidebar__avatar {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
>>>>>>> 85f217e8 (maj 030626)
    justify-content: center;
    align-items: center;
    padding: 40px 15px 70px;
}

/* ================= CARD ================= */

.investor-connexion-card {
    max-width: 540px;
    width: 100%;
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* ================= HEADER ================= */

.investor-connexion-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}




.investor-connexion-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

.investor-connexion-subtitle {
    color: #6b7280;
    line-height: 1.7;
    max-width: 380px;
    margin: auto;
}

/* ================= LABEL ================= */

.investor-connexion-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.investor-connexion-label i {
    color: #037B3D;
}

/* ================= INPUT ================= */

.investor-connexion-input-group {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.investor-connexion-input-group:focus-within {
    border-color: #037B3D;
    box-shadow: 0 0 0 4px rgba(3, 123, 61, 0.10);
}

.investor-connexion-input-group .input-group-text {
    border: none;
    background: #f9fafb;
    color: #6b7280;
    padding: 0 18px;
}

.investor-connexion-input {
    border: none !important;
    box-shadow: none !important;
    padding: 16px 18px;
    font-size: 1rem;
}

.investor-connexion-input::placeholder {
    color: #9ca3af;
}

/* ================= OPTIONS ================= */

.investor-connexion-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.investor-connexion-forgot {
    color: #EC8D08;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.investor-connexion-forgot:hover {
    color: #c97300;
}

/* ================= BUTTON ================= */

.investor-connexion-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #037B3D, #025b2c);
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(3, 123, 61, 0.18);
}

.investor-connexion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(3, 123, 61, 0.28);
}

/* ================= FOOTER ================= */

.investor-connexion-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    color: #6b7280;
}

.investor-connexion-footer a {
    color: #037B3D;
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

.investor-connexion-footer a:hover {
    color: #025b2c;
}

/* ================= ALERT ================= */

.investor-connexion-alert {
    border: none;
    border-radius: 16px;
    background: rgba(3, 123, 61, 0.08);
    color: #037B3D;
    padding: 16px 20px;
    font-weight: 500;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .investor-connexion-card {
        padding: 35px 25px;
        border-radius: 24px;
    }

    .investor-connexion-title {
        font-size: 1.7rem;
    }

    .investor-connexion-options {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* 
COMPTE INVESTISSEUR */

/* =========================================
   COMP INVESTISSEUR
========================================= */

.compinvestisseur-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.05),
        0 2px 10px rgba(3, 123, 61, 0.06);
}

/* ================= RONDS DÉCORATIFS ================= */

.compinvestisseur-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 260px;
    height: 260px;
    background: #037B3D;
    border-radius: 50%;
}

.compinvestisseur-card::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 180px;
    height: 180px;
    background: #eb8b04;
    border-radius: 50%;
}

/* ================= CONTENT ================= */

.compinvestisseur-content {
    position: relative;
    z-index: 2;
}



/* ================= TITRE ================= */

.compinvestisseur-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 18px;
}

/* ================= TEXTE ================= */

.compinvestisseur-text {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #4b5563;
    max-width: 760px;
    margin-bottom: 35px !important;
}

/* ================= ACTIONS ================= */

.compinvestisseur-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* ================= BTN PRIMARY ================= */

.compinvestisseur-btn-primary {
    background: linear-gradient(135deg, #037B3D, #025b2c);
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(3, 123, 61, 0.18);
}

.compinvestisseur-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(3, 123, 61, 0.25);
}

/* ================= BTN OUTLINE ================= */

.compinvestisseur-btn-outline {
    border: 2px solid #037B3D;
    color: #037B3D;
    border-radius: 14px;
    padding: 13px 28px;
    font-weight: 600;
    background: white;
    transition: all 0.35s ease;
}

.compinvestisseur-btn-outline:hover {
    background: #037B3D;
    color: white;
    transform: translateY(-3px);
}

/* ================= BTN LINK ================= */

.compinvestisseur-btn-link {
    color: #EC8D08;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.compinvestisseur-btn-link:hover {
    color: #c97300;
    transform: translateX(4px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .compinvestisseur-card {
        padding: 35px 25px;
        border-radius: 22px;
    }

    .compinvestisseur-title {
        font-size: 1.7rem;
    }

    .compinvestisseur-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .compinvestisseur-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .compinvestisseur-actions .btn {
        width: 100%;
        justify-content: center;
    }
}