/* ===============================
   ORDER SUCCESS PAGE CLEAN FIX
=============================== */

.order-success-page {
    min-height: calc(100vh - 90px); /* subtract navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    padding: 100px 20px;
}

/* Card wrapper */
.success-container {
    width: 100%;
    max-width: 520px; /* smaller premium width */
}

/* Main card */
.success-card {
    background: #ffffff;
    padding: 35px 30px;  /* reduced padding */
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s ease;
}

/* Title */
.success-card h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #111827;
}

/* Subtitle */
.success-message {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

/* ===============================
   SUCCESS ICON
=============================== */

.success-icon {
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 70px;
    height: 70px;
    background: #16a34a;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}

.checkmark {
    position: absolute;
    left: 22px;
    top: 32px;
    width: 22px;
    height: 4px;
    background: white;
    transform: rotate(45deg);
}

.checkmark::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 4px;
    background: white;
    top: -7px;
    left: -7px;
    transform: rotate(-90deg);
}

/* ===============================
   ORDER DETAILS
=============================== */

.order-details {
    text-align: left;
    margin: 20px 0 25px;
    padding: 18px;
    background: #f3f4f6;
    border-radius: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-row strong {
    font-weight: 600;
}

.paid-status {
    color: #16a34a;
}

/* ===============================
   BUTTON
=============================== */

.primary-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.2s ease;
}

.primary-btn:hover {
    background: #15803d;
}