﻿:root {
    --brand-dark: #1e1e1e;
    --brand-gold: #c5a86a;
    --brand-gold-light: #f7f4eb;
    --text-muted: #6c757d;
    --bg-light: #f9f9fa;
    --error-red: #dc3545;
    --error-red-light: #fdf2f2;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--brand-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Support for LTR switching smoothly */
html[dir="ltr"] body {
    font-family: 'Inter', 'Cairo', sans-serif;
}

.checkout-container {
    max-width: 580px;
    width: 100%;
    margin: auto;
    padding: 20px;
}

.payment-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border-top: 5px solid var(--error-red);
}

.brand-logo-container {
    text-align: center;
    padding: 30px 20px 15px 20px;
}

.brand-logo {
    max-height: 70px;
    object-fit: contain;
}

.error-status-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.error-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--error-red-light);
    color: var(--error-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--error-red);
    text-align: center;
    margin-bottom: 10px;
}

.error-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 400px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.request-id-box {
    background-color: var(--bg-light);
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}

.request-id-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.request-id-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--brand-dark);
    word-break: break-all;
    user-select: all;
    font-weight: 600;
}

.btn-action-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-retry {
    background: var(--brand-dark);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    .btn-retry:hover {
        background: #2a2a2a;
        color: var(--brand-gold);
        transform: translateY(-1px);
    }

.btn-secondary-custom {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

    .btn-secondary-custom:hover {
        background: var(--bg-light);
        color: var(--brand-dark);
        border-color: #ccc;
    }
