/* order — migrated from pages.css */

:root {
    --primary: #0f766e; /* was #0d9488: with white text (checkout button, step number) this was 3.74:1, fails WCAG AA (needs 4.5:1) */
    --primary-dark: #115e59;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

body { font-family: 'Inter', sans-serif !important; background-color: var(--background); }

.checkout-page { padding: 60px 0 100px; }
.checkout-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 380px; gap: 40px; }

@media (max-width: 991px) {
    .checkout-container { grid-template-columns: 1fr; }
}

/* FORM STYLES */
.checkout-card { background: var(--card-bg); border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); padding: 40px; }
.checkout-card h2 { font-size: 24px; font-weight: 800; color: var(--text-main); margin-bottom: 32px; letter-spacing: -0.02em; }
.checkout-section { margin-bottom: 40px; }
.checkout-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.checkout-section-title .number { width: 28px; height: 28px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.checkout-section-title h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: span 2; }

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-full { grid-column: span 1; }
}

label { display: block; font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.form-control { width: 100%; height: 50px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; font-size: 15px; color: var(--text-main); transition: all 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,148,136,0.1); }
textarea.form-control { height: auto; padding: 16px; }

/* SUMMARY CARD */
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; position: sticky; top: 100px; height: fit-content; }
.summary-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; color: var(--text-muted); }
.summary-item.total { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px; color: var(--text-main); font-weight: 800; font-size: 18px; }

.checkout-btn { width: 100%; background: var(--primary); color: #fff; border: none; padding: 18px; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 24px; display: block; text-align: center; }
.checkout-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(13,148,136,0.2); }

.trust-badge { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.trust-badge i { color: #16a34a; font-size: 16px; }

/* PASSWORD CHECK STYLES */
#message { font-size: 14px; font-weight: 600; margin-top: 4px; display: block; }

