/* Styles additionnels pour l'ancien HTML */

/* Responsibility blocks */
.responsibility-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.responsibility-block h3 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.percentage-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.responsibility-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibility-block ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.responsibility-block ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Interview questions */
.interview-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.interview-question h3 {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.question-box {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.question-box p {
    margin-bottom: 1rem;
}

.question-box strong {
    color: var(--primary);
}

.answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.answer strong {
    color: var(--success);
}

/* Scorecard Table */
.scorecard-info {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.scorecard-table {
    overflow-x: auto;
}

.scorecard-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.scorecard-table thead {
    background: var(--primary);
    color: white;
}

.scorecard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.scorecard-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-header td {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--primary);
}

.badge-weight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    background: var(--secondary);
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.total-row td {
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--primary);
}

/* Red Flags */
.red-flag-box {
    padding: 1.5rem;
    background: #fee;
    border-left: 4px solid var(--danger);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.red-flag-box h3 {
    color: var(--danger);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.red-flag-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.red-flag-box ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #c00;
}

.red-flag-box ul li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

.success-profile {
    padding: 1.5rem;
    background: #efe;
    border-left: 4px solid var(--success);
    border-radius: 8px;
    margin-top: 1rem;
}

.success-profile strong {
    color: var(--success);
    font-weight: 600;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: var(--secondary);
}

/* Requirements List */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    color: var(--success);
}

/* KPI List */
.kpi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kpi-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.kpi-list li:last-child {
    border-bottom: none;
}

.kpi-list strong {
    color: var(--primary);
    font-weight: 600;
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Mission Text */
.mission-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-detail-header,
    .job-hero {
        padding: 2rem 1rem;
    }
    
    .job-detail-title,
    .job-hero h1 {
        font-size: 2rem;
    }
    
    .job-section,
    .content-section {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .container,
    .job-container {
        padding: 2rem 1rem;
    }
}
