/* TalentLink Role Selection - Exact Match */
body.auth-page {
    margin: 0;
    padding: 0;
    height: 100vh;          /* prend tout l'écran */
    display: flex;
    justify-content: center; /* centre horizontal */
    align-items: center;     /* centre vertical */
    background: #f9fcff;
}

.talentlink-wrapper {
    display: flex;
    width: 100%;
    max-width: 1400px;
    min-height: 80vh;       /* hauteur relative à l'écran */
    margin: 0;               /* plus besoin de marges verticales */
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left Panel - Dark Navy */
.talentlink-left {
    width: 40%;
    background: #0a1128;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.talentlink-card-illustration
.illustration-placeholder
i {
    font-size: 48px;
}

/* Animated Background Pattern */
.talentlink-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(139, 159, 232, 0.03) 0px, transparent 1px, transparent 40px, rgba(139, 159, 232, 0.03) 41px),
        repeating-linear-gradient(0deg, rgba(139, 159, 232, 0.03) 0px, transparent 1px, transparent 40px, rgba(139, 159, 232, 0.03) 41px);
    opacity: 0.3;
}

/* Logo Section */
.talentlink-logo {
    position: relative;
    z-index: 2;
}

.talentlink-logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.talentlink-logo-icon {
    width: 48px;
    height: 48px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transform: rotate(-10deg); */
}

.talentlink-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* ajuste l'image sans la déformer */
    display: block;
}

.talentlink-logo-icon i {
    color: white;
    font-size: 18px;
}

.talentlink-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

/* Main Content */
.talentlink-main {
    position: relative;
    z-index: 2;
    margin: auto 0;
}

.talentlink-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
}

.talentlink-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    /* margin-bottom: 60px; */
}

/* Partner Logos */
.talentlink-partners {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0.4;
    margin-bottom: 20px;
}

.partner-logo {
    height: 20px;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

/* Bottom Link */
.talentlink-footer {
    position: relative;
    z-index: 2;
}

.talentlink-footer-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.talentlink-footer-link:hover {
    opacity: 0.8;
}

.talentlink-footer {
    padding: 20px 0;
    font-size: 14px;
    color: #6c757d; /* texte gris clair */
}

.talentlink-footer-link a {
    color: #a81734; /* couleur ocre/orange pour le lien */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.talentlink-footer-link a:hover {
    color: #870c29; /* teinte plus foncée au survol */
    text-decoration: underline;
}


/* Right Panel - Light Background */
.talentlink-right {
    width: 60%;
    background: #f5f7fa;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Role Cards Container */
.talentlink-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 520px;
    margin: auto;
    width: 100%;
}

/* Role Card */
.talentlink-card {
    background: white;
    border-radius: 9px;
    padding: 48px 40px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.talentlink-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 20px 0 0 20px;
    transition: all 0.4s ease;
}

.talentlink-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Freelance Card - Blue */
.talentlink-card.freelance::before {
    left: -1px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.talentlink-card.freelance:hover {
    border-color: #667eea;
}

/* Enterprise Card - Teal */
.talentlink-card.enterprise::before {
    right: -1px;
    left: auto;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(180deg, #16a085 0%, #0e7c68 100%);
}

.talentlink-card.enterprise:hover {
    border-color: #16a085;
    transform: translateX(-8px);
}

.talentlink-card.enterprise {
    flex-direction: row-reverse;
}

/* Card Illustration */
.talentlink-card-illustration {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.talentlink-card-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Placeholder illustration styles */
.illustration-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.freelance .illustration-placeholder {
    color: #667eea;
}

.enterprise .illustration-placeholder {
    color: #16a085;
}

/* Card Content */
.talentlink-card-content {
    flex: 1;
}

.talentlink-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.freelance .talentlink-card-label {
    color: #667eea;
}

.enterprise .talentlink-card-label {
    color: #16a085;
}

.talentlink-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.3;
}

.talentlink-card-description {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}


@media (min-width: 330px) and (max-width: 1024px) {
    .talentlink-logo-icon {
        width: 32px;
        height: 32px;
    }

    /* .talentlink-main {
        margin-top: 15px;
    } */

    body.auth-page {
        height: auto !important;
    }

    .talentlink-footer-link {
        font-size: 0.875rem !important;
    }

    .talentlink-title {
        font-size: 24px !important;
    }

    .talentlink-subtitle {
        font-size: 16px !important;
    }

    .talentlink-card-title {
        font-size: 23px !important;
    }

    .talentlink-card-title-small {
        font-size: 12px !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .talentlink-wrapper {
        margin: 20px;
    }

    .talentlink-left,
    .talentlink-right {
        padding: 40px;
    }

    .talentlink-title {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    .talentlink-wrapper {
        flex-direction: column;
        margin: 0;
        border-radius: 0;
    }

    .talentlink-left,
    .talentlink-right {
        width: 100%;
    }

    .talentlink-left {
        min-height: 50vh;
    }

    .talentlink-title {
        font-size: 36px;
    }

    .talentlink-partners {
        display: none;
    }
}

@media (max-width: 768px) {
    .talentlink-left {
        padding: 30px;
    }

    .talentlink-right {
        padding: 30px;
    }

    .talentlink-title {
        font-size: 28px;
    }

    .talentlink-card {
        flex-direction: column !important;
        padding: 32px 24px;
        gap: 24px;
    }

    .talentlink-card.enterprise {
        flex-direction: column !important;
    }

    .talentlink-card::before {
        width: 100% !important;
        height: 6px !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .talentlink-card-illustration {
        width: 100px;
        height: 80px;
    }

    .talentlink-card-content {
        text-align: center;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.talentlink-left {
    animation: slideInLeft 0.8s ease;
}

.talentlink-right {
    animation: slideInRight 0.8s ease;
}

.talentlink-card-title-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}
