.retraide-dashboard-opportunities {
    background: white;
    border-radius: 18px;
    padding: 22px 24px 20px;
    margin: 24px 0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.retraide-dashboard-opportunities__header {
    margin-bottom: 20px;
}

.retraide-dashboard-opportunities__title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 650;
    color: #0f172a;
}

.retraide-dashboard-opportunities__section {
    padding-bottom: 20px;
}

.retraide-dashboard-opportunities__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.retraide-dashboard-opportunities__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.retraide-dashboard-opportunities__section-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.retraide-dashboard-opportunities__subtitle {
    margin: 0 0 14px 0;
    font-size: 0.95rem;
    color: #64748b;
}

.retraide-dashboard-opportunities__pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.retraide-dashboard-opportunities__pill--alt {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.retraide-dashboard-opportunities__empty {
    padding: 12px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    color: #92400e;
}

.retraide-dashboard-opportunities__list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.retraide-dashboard-opportunities__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.retraide-dashboard-opportunities__item:first-child {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 14px;
}

.retraide-dashboard-opportunities__main {
    min-width: 200px;
    flex: 1;
}
.retraide-dashboard-opportunities__actions .button {
    color: white;
    background: #399af7;
}
.retraide-dashboard-opportunities__name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.retraide-dashboard-opportunities__author {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
}

.retraide-dashboard-opportunities__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
}

.retraide-tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.retraide-tag--accent {
    background: #dbeafe;
    color: #1d4ed8;
}

.retraide-dashboard-opportunities__actions {
    flex-shrink: 0;
}

.retraide-dashboard-opportunities__actions .button {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
}

/* Responsive */
@media (max-width: 640px) {
    .retraide-dashboard-opportunities {
        padding: 18px 16px;
    }
    .retraide-dashboard-opportunities__section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* État vide - Onboarding */
.retraide-dashboard-opportunities--empty {
    background: #ffffff;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.retraide-onboarding {
    margin-top: 16px;
}

.retraide-onboarding__intro {
    text-align: center;
    margin-bottom: 32px;
}

.retraide-onboarding__lead {
    font-size: 1.1rem;
    color: #334155;
    margin: 0;
    font-weight: 400;
}

.retraide-onboarding__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.retraide-onboarding__inline {
    display: flex;
    align-items: end;
    gap: 5px;
}
.retraide-onboarding__card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.retraide-onboarding__card:nth-child(2) {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.retraide-onboarding__card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.retraide-onboarding__card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.retraide-onboarding__card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.95;
}

.retraide-onboarding__card-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.retraide-onboarding__card-text {
    margin: 0 0 24px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.retraide-onboarding__card-action .button {
    background: #ffffff;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.retraide-onboarding__card:nth-child(2) .retraide-onboarding__card-action .button {
    color: #14b8a6;
}

.retraide-onboarding__card-action .button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.retraide-onboarding__footer {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 20px 24px;
}

.retraide-onboarding__info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

.retraide-onboarding__info strong {
    color: black;
}

.retraide-onboarding__info-icon {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 3px;
}

.retraide-onboarding__highlight {
    display: inline-block;
    color: black;
    font-weight: 700;
}

/* CTA discrets en bas */
.retraide-dashboard-opportunities__cta {
    padding-top: 20px;
    border-top: 1px dashed rgba(148, 163, 184, 0.3);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.retraide-dashboard-opportunities__cta-link {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.retraide-dashboard-opportunities__cta-link:hover {
    background: #ffffff;
    border-color: #399af7;
    box-shadow: 0 4px 12px rgba(57, 154, 247, 0.1);
    transform: translateY(-1px);
}

.retraide-dashboard-opportunities__cta-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.retraide-dashboard-opportunities__cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.retraide-dashboard-opportunities__cta-text strong {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
}

.retraide-dashboard-opportunities__cta-text small {
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 640px) {
    .retraide-dashboard-opportunities__cta {
        flex-direction: column;
    }

    .retraide-dashboard-opportunities__cta-link {
        min-width: 100%;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .retraide-onboarding__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .retraide-onboarding__card {
        padding: 28px 24px;
    }

    .retraide-onboarding__card-icon {
        font-size: 2.2rem;
    }

    .retraide-onboarding__info {
        gap: 12px;
    }

    .retraide-onboarding__footer {
        padding: 18px 20px;
    }
}


/* ==========================================================================
   RETRAIDE DASHBOARD PREVIEW V2 - PREMIUM LOOK & ENGAGEMENT
   ========================================================================== */

.retraide-dbv2-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    transition: all 0.3s ease;
}

.retraide-dbv2-container--empty {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.retraide-dbv2-header {
    margin-bottom: 32px;
    text-align: left;
}

.retraide-dbv2-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.retraide-dbv2-subtitle {
    font-size: 1.05rem;
    color: #475569;
    margin: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Onboarding Grid */
.retraide-dbv2-onboarding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.retraide-dbv2-onboarding-card {
    border-radius: 20px;
    padding: 40px 36px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.retraide-dbv2-onboarding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.retraide-dbv2-onboarding-card--landlord {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.retraide-dbv2-onboarding-card--tenant {
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
}

/* Decorative glass circle in cards */
.retraide-dbv2-onboarding-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.retraide-dbv2-card-icon {
    font-size: 2.8rem;
    margin-bottom: 24px;
    line-height: 1;
    display: inline-block;
}

.retraide-dbv2-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.retraide-dbv2-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}

.retraide-dbv2-checklist {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.retraide-dbv2-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.retraide-dbv2-checklist-icon {
    font-size: 1.2rem;
    line-height: 1.4;
    flex-shrink: 0;
    user-select: none;
}

.retraide-dbv2-checklist-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.retraide-dbv2-card-action {
    margin-top: auto;
}

.retraide-dbv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.retraide-dbv2-btn--white {
    background: #ffffff;
    color: #1e3a8a;
}

.retraide-dbv2-onboarding-card--tenant .retraide-dbv2-btn--white {
    color: #0f766e;
}

.retraide-dbv2-btn--white:hover {
    background: #f8fafc;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Info Banner */
.retraide-dbv2-info-banner {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.retraide-dbv2-info-icon {
    font-size: 1.4rem;
    line-height: 1.2;
}

.retraide-dbv2-info-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.retraide-dbv2-info-text strong {
    color: #0f172a;
}

/* Dashboard Header */
.retraide-dbv2-header-dashboard {
    margin-bottom: 24px;
}

.retraide-dbv2-user-welcome h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.retraide-dbv2-user-welcome p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Dashboard Sections */
.retraide-dbv2-section {
    margin-bottom: 40px;
}

.retraide-dbv2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.retraide-dbv2-section-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.retraide-dbv2-section-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 20px 0;
}

.retraide-dbv2-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
}

.retraide-dbv2-pill--alt {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

/* Dashboard Grids & Cards */
.retraide-dbv2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.retraide-dbv2-opportunity-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.retraide-dbv2-opportunity-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.retraide-dbv2-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.retraide-dbv2-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.retraide-dbv2-avatar--alt {
    background: linear-gradient(135deg, #fed7aa 0%, #f97316 100%);
}

.retraide-dbv2-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.retraide-dbv2-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.retraide-dbv2-location {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px;
}

.retraide-dbv2-score-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    border-radius: 8px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #fde68a;
}

.retraide-dbv2-score-badge--alt {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.retraide-dbv2-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.retraide-dbv2-tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}

.retraide-dbv2-tag--age {
    background: #dbeafe;
    color: #1e40af;
}

.retraide-dbv2-tag--rent {
    background: #f0fdf4;
    color: #166534;
}

.retraide-dbv2-card-action-bar {
    margin-top: auto;
}

.retraide-dbv2-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-align: center;
}

.retraide-dbv2-btn-secondary:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* Specific listing card */
.retraide-dbv2-opportunity-card--listing {
    padding: 0;
    overflow: hidden;
}

.retraide-dbv2-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.retraide-dbv2-score-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.retraide-dbv2-listing-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.retraide-dbv2-listing-title {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.retraide-dbv2-listing-author {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
}

/* Empty recommendation state */
.retraide-dbv2-opportunities__empty {
    padding: 24px;
    background: #fefaf0;
    border-radius: 12px;
    border: 1px solid #fef3c7;
    color: #b45309;
    font-size: 0.95rem;
    text-align: center;
    margin: 16px 0;
}

/* Bottom CTAs */
.retraide-dbv2-ctas {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
}

.retraide-dbv2-cta-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.retraide-dbv2-cta-card:hover {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.retraide-dbv2-cta-card--pro {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.retraide-dbv2-cta-card--pro:hover {
    background: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.08);
}

.retraide-dbv2-cta-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.retraide-dbv2-cta-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.retraide-dbv2-cta-body strong {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
}

.retraide-dbv2-cta-body span {
    font-size: 0.8rem;
    color: #64748b;
}

.retraide-dbv2-cta-arrow {
    font-size: 1.1rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.retraide-dbv2-cta-card:hover .retraide-dbv2-cta-arrow {
    transform: translateX(4px);
    color: #3b82f6;
}

.retraide-dbv2-cta-card--pro:hover .retraide-dbv2-cta-arrow {
    color: #22c55e;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .retraide-dbv2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .retraide-dbv2-container {
        padding: 24px 20px;
    }
    
    .retraide-dbv2-onboarding-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .retraide-dbv2-onboarding-card {
        padding: 32px 24px;
    }
    
    .retraide-dbv2-ctas {
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .retraide-dbv2-grid {
        grid-template-columns: 1fr;
    }
    
    .retraide-dbv2-title {
        font-size: 1.5rem;
    }
}

