   :root {
            --primary-orange: #FDB913;
            /* Jaune/Or du logo Resolute */
            --primary-blue: #1B4B73;
            /* Bleu marine du logo Resolute */
            --light-grey: #F8F9FA;
            --white: #ffffff;
            --text-dark: #1B4B73;
            --text-grey: #5A7A99;
            --border-light: #D9E3ED;
            --shadow: 0 4px 6px -1px rgba(27, 75, 115, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(27, 75, 115, 0.15);
            --danger: #e53e3e;
            --success-color: #28a745;
            --accent-gold: #FDB913;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Corps de page */
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--light-grey);
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .job-container {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 3rem;
            align-items: start;
        }

        .job-details {
            background: var(--white);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
        }

        .job-header {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 3px solid var(--light-grey);
        }

        .company-logo {
            width: 100px;
            height: auto;
            max-width: none;
            border-radius: 12px;
            background: var(--light-grey);
            padding: 0.5rem;
            flex-shrink: 0;
        }

        .job-title-section h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .job-meta {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            color: var(--text-grey);
            font-size: 1rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .meta-item i {
            width: 16px;
            color: var(--primary-blue);
        }

        .meta-item strong {
            color: var(--text-dark);
        }

        .deadline-alert {
            background: #fed7d7;
            color: var(--danger);
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Styles pour les boutons de partage dans l'en-tête */
        .share-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
            justify-content: flex-start;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-light);
        }

        .share-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-right: 0.5rem;
        }

        .share-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 18px;
            cursor: pointer;
            border: none;
            background: none;
        }

        .share-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .share-linkedin {
            background: #0077b5;
            color: white;
        }

        .share-linkedin:hover {
            background: #005582;
            color: white;
        }

        .share-whatsapp {
            background: #25d366;
            color: white;
        }

        .share-whatsapp:hover {
            background: #1da851;
            color: white;
        }

        .share-copy {
            background: #6c757d;
            color: white;
        }

        .share-copy:hover {
            background: #5a6268;
            color: white;
        }

        /* Toast notification for copy success */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: var(--success-color);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            z-index: 1000;
            transform: translateX(400px);
            transition: transform 0.3s ease;
        }

        .toast.show {
            transform: translateX(0);
        }

        .section {
            margin-bottom: 3rem;
        }

        .section h2 {
            font-size: 1.75rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding-left: 0.5rem;
        }

        .section h2 i {
            color: var(--primary-orange);
        }

        .section-content {
            line-height: 1.8;
            color: var(--text-dark);
            font-size: 1.05rem;
        }

        .section-content ul {
            list-style-type: disc;
            margin-left: 2rem;
            margin-top: 1rem;
        }

        .section-content li {
            margin-bottom: 0.75rem;
        }

        .section-content p {
            margin-bottom: 1rem;
        }

        /* Sidebar */
        .job-sidebar {
            position: sticky;
            top: 2rem;
            height: fit-content;
        }

        .sidebar-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
            margin-bottom: 2rem;
        }

        .apply-section {
            text-align: center;
            margin-bottom: 2rem;
        }

        .apply-button {
            width: 100%;
            background: var(--primary-orange);
            color: var(--text-dark);
            border: none;
            padding: 1.25rem 2rem;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .apply-button:hover {
            background: var(--primary-blue);
            color: var(--white);
            box-shadow: 0 6px 20px rgba(27, 75, 115, 0.3);
        }

        .apply-button:active {
            transform: translateY(0);
        }

        .apply-button.disabled {
            background: #a0aec0;
            cursor: not-allowed;
            transform: none;
        }

        .apply-button.disabled:hover {
            transform: none;
            box-shadow: var(--shadow);
        }

        .deadline-info {
            background: var(--primary-blue);
            color: var(--white);
            padding: 1.25rem;
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
        }

        .deadline-info.expired {
            background: var(--danger);
        }

        .job-summary h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .info-grid {
            display: grid;
            gap: 1.25rem;
        }

        .info-item {
            background: var(--white);
            padding: 1.25rem;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .info-item:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }

        .info-label {
            font-weight: 500;
            color: var(--text-grey);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .info-label i {
            color: var(--primary-blue);
            width: 16px;
        }

        .info-value {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 1.05rem;
        }

        .collapse-section {
            margin-top: 1rem;
        }

        .collapse-toggle {
            background: none;
            border: 2px solid var(--primary-blue);
            color: var(--primary-blue);
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0 auto;
        }

        .collapse-toggle:hover {
            background: var(--primary-blue);
            color: var(--white);
        }

        .collapse-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }

        .collapse-content.expanded {
            max-height: 500px;
        }

        .error-state {
            background: var(--white);
            border-radius: 16px;
            padding: 3rem;
            text-align: center;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
        }

        .error-state i {
            font-size: 4rem;
            color: var(--danger);
            margin-bottom: 1rem;
        }

        .error-state h2 {
            color: var(--danger);
            margin-bottom: 1rem;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            margin-top: 2rem;
            padding: 0.75rem 1.5rem;
            border: 2px solid var(--primary-blue);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .back-link:hover {
            background: var(--primary-blue);
            color: var(--white);
            text-decoration: none;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .job-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .job-sidebar {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }

            .job-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .job-title-section h1 {
                font-size: 1.75rem;
            }

            .job-details,
            .sidebar-card {
                padding: 1.5rem;
            }

            .company-logo {
                width: 80px;
            }

            .share-actions {
                justify-content: center;
            }

            .share-label {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .job-title-section h1 {
                font-size: 1.5rem;
            }

            .section h2 {
                font-size: 1.4rem;
            }

            .job-details,
            .sidebar-card {
                padding: 1.25rem;
            }
        }

        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary-blue);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-2px);
            background: var(--primary-orange);
            color: var(--text-dark);
            text-decoration: none;
        }

        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 20px;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            font-size: 20px;
            box-shadow: var(--shadow);
        }

        .top-bar a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .top-bar a:hover {
            color: var(--primary-orange);
        }