/* ==============================
   CONFIRMATION PAGE – PREMIUM
   ============================== */

/* Variables */
:root {
    --primary: #1f2937;       /* Gris bancaire */
    --success: #16a34a;       /* Vert succès */
    --bg: #f8fafc;
    --border: #e5e7eb;
    --text: #374151;
    --muted: #6b7280;
    --radius: 14px;
    --shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* Reset ciblé */
.confirm-section *,
.confirm-section *::before,
.confirm-section *::after {
    box-sizing: border-box;
}

/* Section */
.confirm-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Card */
.confirm-box {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 40px 36px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    animation: fadeUp 0.7s ease-out forwards;
}

/* Icon */
.icon-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-check svg {
    width: 100%;
    height: 100%;
}

/* Title */
.confirm-box h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

/* Text */
.confirm-box p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 6px 0;
}

/* Button */
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-home:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 640px) {
    .confirm-box {
        padding: 28px 22px;
        border-radius: 12px;
    }

    .confirm-box h2 {
        font-size: 1.2rem;
    }

    .confirm-box p {
        font-size: 0.9rem;
    }

    .icon-check {
        width: 60px;
        height: 60px;
        margin-bottom: 14px;
    }
}

@media (max-width: 420px) {
    .btn-home {
        width: 100%;
    }
}
