/* css/ikea-style.css - Design système IKEA */
:root {
    --ikea-blue: #0058A3;
    --ikea-yellow: #FFCC00;
    --ikea-white: #FFFFFF;
    --ikea-gray: #F5F5F5;
    --ikea-dark: #333333;
    --ikea-success: #4CAF50;
    --ikea-warning: #FF9800;
    --ikea-error: #F44336;
}

/* Styles communs */
.ikea-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--ikea-yellow);
    color: var(--ikea-dark);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.ikea-btn:hover {
    background-color: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.ikea-btn.blue {
    background-color: var(--ikea-blue);
    color: white;
}

.ikea-btn.blue:hover {
    background-color: #004080;
}

.ikea-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--ikea-blue);
    transition: transform 0.3s ease;
}

.ikea-card:hover {
    transform: translateY(-5px);
}

/* Formulaires */
.ikea-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.ikea-input:focus {
    outline: none;
    border-color: var(--ikea-blue);
    box-shadow: 0 0 0 3px rgba(0, 88, 163, 0.1);
}

.ikea-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--ikea-blue);
}

/* Navigation par étapes */
.ikea-stepper {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.ikea-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.ikea-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.ikea-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s;
}

.ikea-step.active .ikea-step-circle {
    background: var(--ikea-blue);
    color: white;
    transform: scale(1.1);
}

.ikea-step.completed .ikea-step-circle {
    background: var(--ikea-success);
    color: white;
}

/* QR Code display */
.qr-display {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: white;
    border: 15px solid white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--ikea-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--ikea-blue);
    margin: 0.5rem 0;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ikea-stepper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ikea-stepper::before {
        display: none;
    }
    
    .qr-display {
        width: 200px;
        height: 200px;
    }
}