/* =========================
   BASE (MOBILE FIRST)
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f7fb;
    color: #333;
}

/* NAVBAR */
.navbar {
    width: 100%;
    background: #5c60b9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}


.logo_text h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.logo_text a {
    text-decoration: none;
}

/* MAIN CONTAINER */
.container {
    width: 100%;
    padding: 16px;
}

/* PAGE WRAPPER */
.page-wrapper {
    width: 100%;
}

/* CARD LAYOUT */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* MOBILE STACK */
    gap: 20px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* FORM SECTION */
.form-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #5c60b9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #5c60b9;
}

/* SUMMARY SECTION */
.summary-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #5c60b9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(92, 96, 185, 0.25);
}

.summary-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-item strong {
    color: #111;
}

.recipient-box {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: #e8f0ff;
    border-radius: 10px;
}

.recipient-box p {
    font-size: 13px;
    color: #555;
}

.recipient-box h1 {
    font-size: 22px;
    color: #5c60b9;
}

/* HORIZONTAL RULE */
hr {
    margin: 12px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* =========================
   TABLET & DESKTOP
   (≥760px)
========================= */

@media (min-width: 760px) {

    .card {
        flex-direction: row; /* SIDE BY SIDE */
        padding: 24px;
    }

    .form-section {
        flex: 2;
        padding-right: 20px;
    }

    .summary-section {
        flex: 1;
    }

    .btn-primary {
        width: auto;
        padding: 12px 24px;
    }

    .logo_text h3 {
        font-size: 18px;
    }
}

/* =========================
   SUCCESS PAGE
   MOBILE FIRST
========================= */

.success-wrapper {
    width: 100%;
    padding: 16px;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;

    background: #f4f7fb;
}

.success-card {
    width: 100%;
    max-width: 520px;

    background: #ffffff;

    border-radius: 18px;

    padding: 24px 20px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   SUCCESS ICON
========================= */

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    background: #dcfce7;
}

/* =========================
   HEADINGS
========================= */

.success-card h1 {
    text-align: center;

    font-size: 28px;
    font-weight: 700;

    color: #111827;

    margin-bottom: 10px;
}

.success-sub {
    text-align: center;

    font-size: 15px;
    line-height: 1.6;

    color: #6b7280;

    margin-bottom: 28px;
}

/* =========================
   DETAILS SECTION
========================= */

.details {
    width: 100%;
}

.detail-row {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 14px 0;

    border-bottom: 1px solid #f1f5f9;
}

.detail-row span {
    font-size: 14px;
    color: #6b7280;
}

.detail-row strong {
    font-size: 15px;
    font-weight: 600;

    color: #111827;

    word-break: break-word;
}

/* =========================
   DIVIDER
========================= */

.success-card hr {
    margin: 24px 0;

    border: none;
    border-top: 1px solid #e5e7eb;
}

/* =========================
   RECIPIENT HIGHLIGHT
========================= */

.recipient-highlight {
    text-align: center;

    background: #f0fdf4;

    border-radius: 16px;

    padding: 22px 16px;
}

.recipient-highlight p {
    font-size: 14px;
    color: #6b7280;

    margin-bottom: 10px;
}

.recipient-highlight h1 {
    font-size: 32px;
    font-weight: 800;

    color: #16a34a;

    margin: 0;
}

/* =========================
   ACTION BUTTON
========================= */

.actions {
    margin-top: 24px;
}

.btn-primary {
    width: 100%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    border-radius: 12px;

    text-decoration: none;

    background: #16a34a;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    transition: 0.2s ease;
}

.btn-primary:hover {
    background: #15803d;
}

/* =========================
   TABLET+
========================= */

@media (min-width: 768px) {

    .success-wrapper {
        padding: 32px;
    }

    .success-card {
        padding: 36px;
    }

    .success-card h1 {
        font-size: 34px;
    }

    .detail-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        gap: 20px;
    }

    .detail-row strong {
        text-align: right;
    }

    .recipient-highlight h1 {
        font-size: 40px;
    }

    .btn-primary {
        font-size: 16px;
    }
}