/* ====================================
   CONVERTISSEURS SALAIRES - ULTRA PREMIUM
   Design sophistiqué avec animations fluides
   ==================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Animations de fond avec particules */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes number-count {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Container principal avec fond animé */
.convertisseurs-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
    min-height: 100vh;
}

/* Fond animé avec particules */
.convertisseurs-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: gradient-shift 15s ease infinite;
    z-index: -1;
    pointer-events: none;
}

/* Header sophistiqué avec glassmorphism */
.convertisseurs-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    animation: slide-in-up 0.8s ease;
}

.header-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    animation: float 6s ease-in-out infinite, pulse-glow 3s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
}

.header-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--primary-gradient);
    border-radius: 32px;
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

.convertisseurs-header h1 {
    font-size: 42px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: 20px;
    color: #64748b;
    font-weight: 500;
}

/* Navigation premium avec effet de verre */
.calculators-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    animation: slide-in-up 0.8s ease 0.2s both;
}

.calc-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    background: white;
    border: 2px solid transparent;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.calc-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.calc-nav-btn i,
.calc-nav-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.calc-nav-btn i {
    font-size: 28px;
    color: #667eea;
}

.calc-nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.25);
}

.calc-nav-btn:hover::before {
    opacity: 0.1;
}

.calc-nav-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.calc-nav-btn.active i,
.calc-nav-btn.active span {
    color: white;
}

.calc-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px 3px 0 0;
}

/* Card calculateur avec glassmorphism */
.calculator-section {
    display: none;
}

.calculator-section.active {
    display: block;
    animation: slide-in-up 0.6s ease;
}

.calculator-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: gradient-shift 20s ease infinite;
    pointer-events: none;
}

.calc-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.calc-header h2 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.calc-header h2 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-header p {
    font-size: 17px;
    color: #64748b;
    font-weight: 500;
}

.calc-body {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Input Groups Premium */
.input-group {
    margin-bottom: 35px;
    animation: slide-in-up 0.6s ease;
}

.input-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-btn {
    flex: 1;
    min-width: 140px;
}

.radio-btn input[type="radio"] {
    display: none;
}

.radio-btn span {
    display: block;
    padding: 16px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #475569;
    position: relative;
    overflow: hidden;
}

.radio-btn span::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--success-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.radio-btn span::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.radio-btn input[type="radio"]:checked + span {
    background: var(--success-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    transform: scale(1.02);
}

.radio-btn input[type="radio"]:checked + span::after {
    opacity: 1;
    transform: scale(1);
}

.radio-btn:hover span {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.15);
}

/* Conversion Container ULTRA moderne */
.conversion-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(247,250,252,0.9) 100%);
    border-radius: 25px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: var(--shadow-lg);
    animation: slide-in-up 0.6s ease 0.2s both;
}

.salary-input-box {
    flex: 1;
    position: relative;
}

.salary-input-box label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 22px 60px 22px 22px;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    border: 3px solid #e2e8f0;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.input-with-icon .currency {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 700;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.conversion-arrow {
    font-size: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

/* Result Details avec animations */
.result-details,
.result-grid {
    margin: 40px 0;
    animation: slide-in-up 0.6s ease 0.3s both;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.detail-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--success-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.detail-item:hover::before {
    transform: scaleX(1);
}

.detail-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: number-count 0.5s ease;
}

.detail-info {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* Result Cards PREMIUM */
.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.result-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(102, 126, 234, 0.05) 60deg, transparent 120deg);
    animation: gradient-shift 8s linear infinite;
    pointer-events: none;
}

.result-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.15);
}

.result-card.highlight {
    background: var(--success-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.35);
}

.result-card.highlight:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.45);
}

.result-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card.highlight .result-label {
    color: rgba(255, 255, 255, 0.95);
}

.result-value {
    font-size: 34px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.result-card.highlight .result-value {
    color: white;
}

/* Range Input ULTRA moderne */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 10px;
    outline: none;
    position: relative;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--success-gradient);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--success-gradient);
    border-radius: 50%;
    cursor: grab;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.range-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 800;
}

.range-value .percentage {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Info Box sophistiqué */
.info-box {
    display: flex;
    gap: 18px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #3b82f6;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
    animation: slide-in-up 0.6s ease 0.4s both;
}

.info-box i {
    font-size: 24px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    font-size: 15px;
    color: #1e40af;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* Chart Container PREMIUM */
.chart-container {
    height: 450px;
    margin: 50px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(102, 126, 234, 0.08);
    animation: slide-in-up 0.6s ease 0.3s both;
}

/* Regions Comparison PREMIUM */
.regions-comparison {
    margin: 50px 0;
}

.comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-header h3 {
    font-size: 26px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.comparison-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.regions-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.region-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
    border-radius: 18px;
    padding: 25px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.region-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--success-gradient);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.region-item:hover {
    border-color: #10b981;
    transform: translateX(8px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.2);
}

.region-item:hover::before {
    transform: scaleY(1);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.region-icon {
    font-size: 32px;
    animation: float 4s ease-in-out infinite;
}

.region-info {
    flex: 1;
}

.region-name {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.region-indice {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.region-salary {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.region-salary.higher {
    background: var(--danger-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.region-salary.lower {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.region-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.region-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.region-bar-fill {
    height: 100%;
    background: var(--success-gradient);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.region-note {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    font-weight: 500;
}

/* Bouton start-test PREMIUM */
.btn-start-test {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 22px 45px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-start-test::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-start-test:hover::before {
    transform: translateX(100%);
}

.btn-start-test:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.5);
}

.btn-start-test:active {
    transform: translateY(-1px) scale(0.98);
}

/* Dual Input Row */
.dual-input-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

/* Form Select PREMIUM */
.form-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    background: white;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Evolution Cards */
.evolution-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.evolution-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.evolution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.evolution-card.highlight {
    background: var(--success-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

.evolution-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evolution-card.highlight .evolution-label {
    color: rgba(255,255,255,0.95);
}

.evolution-value {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.evolution-card.highlight .evolution-value {
    color: white;
}

.evolution-info {
    font-size: 15px;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.evolution-card.highlight .evolution-info {
    background: rgba(255,255,255,0.95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Comparison SMIC */
.comparison-smic {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(248,250,252,0.95) 0%, rgba(241,245,249,0.9) 100%);
    border-radius: 18px;
    border: 2px solid #e2e8f0;
}

.smic-info {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 12px;
}

#smic_comparison {
    font-size: 17px;
    font-weight: 700;
    margin-top: 12px;
}

#smic_comparison .positive {
    color: #10b981;
}

#smic_comparison .negative {
    color: #ef4444;
}

/* Responsive ULTRA optimisé */
@media (max-width: 768px) {
    .convertisseurs-container {
        padding: 15px;
    }

    .convertisseurs-header h1 {
        font-size: 32px;
    }

    .header-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .calculator-card {
        padding: 30px 20px;
    }

    .conversion-container {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }

    .conversion-arrow {
        transform: rotate(90deg);
        font-size: 32px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .dual-input-row {
        grid-template-columns: 1fr;
    }

    .evolution-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculators-nav {
        gap: 8px;
        padding: 15px;
    }

    .calc-nav-btn {
        padding: 14px 18px;
        font-size: 13px;
    }

    .calc-nav-btn i {
        font-size: 22px;
    }

    .result-cards {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 350px;
        padding: 20px;
    }
}

/* Animations de chargement */
@keyframes skeleton-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Scrollbar PREMIUM */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8a 100%);
}
/* Icônes Font Awesome embellies */
.detail-label i,
.result-label i,
.evolution-label i {
    margin-right: 8px;
    color: #667eea;
    font-size: 1.1em;
    vertical-align: middle;
    animation: float 4s ease-in-out infinite;
}

.detail-item:hover .detail-label i,
.result-card:hover .result-label i,
.evolution-card:hover .evolution-label i {
    transform: scale(1.2) rotate(10deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Tooltips sophistiqués */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Success/Error feedback */
.success-flash {
    animation: success-pulse 0.6s ease-out;
}

.error-flash {
    animation: error-shake 0.5s ease-out;
}

@keyframes success-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-15px); }
    75% { transform: translateX(15px); }
}

/* Bouton avec effet ripple */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Badge premium pour valeurs importantes */
.premium-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: shimmer 2s linear infinite, float 3s ease-in-out infinite;
    margin-left: 8px;
}

/* Effet de brillance sur les cartes importantes */
.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* Amélioration des résultats avec counter */
.result-value::before,
.evolution-value::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Overlay de chargement premium */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    to { transform: rotate(360deg); }
}

/* Micro-interactions sur les inputs */
.form-input:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.form-input:hover:not(:focus) {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.02);
}