/* ============================================================
   ORDER COMPLETE / PAYMENT RESULT PAGES
   Modern, elegant, mobile-responsive design
   ============================================================ */

/* ---------- Animated Checkmark ---------- */
.oc-checkmark-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.oc-checkmark-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #c9a22e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: oc-pop .5s cubic-bezier(.26, .53, .74, 1.48) forwards;
    box-shadow: 0 8px 32px rgba(212, 175, 55, .25);
}

.oc-checkmark-circle svg {
    width: 44px;
    height: 44px;
}

.oc-checkmark-circle svg polyline {
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: oc-draw .6s .35s ease forwards;
}

@keyframes oc-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes oc-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ---------- Error X Icon ---------- */
.oc-error-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: oc-pop .5s cubic-bezier(.26, .53, .74, 1.48) forwards;
    box-shadow: 0 8px 32px rgba(220, 53, 69, .25);
}

.oc-error-circle svg {
    width: 40px;
    height: 40px;
}

.oc-error-circle svg line {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: oc-draw .5s .35s ease forwards;
}

/* ---------- Warning Circle ---------- */
.oc-warn-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6a800 0%, #d49b00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: oc-pop .5s cubic-bezier(.26, .53, .74, 1.48) forwards;
    box-shadow: 0 8px 32px rgba(230, 168, 0, .25);
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Main Card ---------- */
.oc-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    padding: 48px 40px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    border: 1px solid rgba(93, 0, 30, .06);
}

.oc-title {
    font-size: 22px;
    font-weight: 700;
    color: #5D001E;
    margin-bottom: 8px;
    letter-spacing: -.3px;
}

.oc-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ---------- Info Boxes Row ---------- */
.oc-info-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.oc-info-box {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: #faf7f4;
    border: 1px solid rgba(212, 175, 55, .18);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
}

.oc-info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
}

.oc-info-value {
    font-size: 20px;
    font-weight: 700;
    color: #5D001E;
    word-break: break-all;
}

.oc-info-value.oc-key {
    font-size: 14px;
    font-family: 'Courier New', monospace;
    letter-spacing: .5px;
}

/* ---------- Alert Box ---------- */
.oc-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e1;
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #6d5a00;
}

.oc-alert i,
.oc-alert svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #D4AF37;
    font-size: 18px;
}

.oc-alert strong {
    color: #5D001E;
}

/* ---------- Note Text ---------- */
.oc-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
    line-height: 1.5;
}

/* ---------- Bank Section ---------- */
.oc-bank-section {
    max-width: 640px;
    margin: 0 auto 40px;
}

.oc-bank-header {
    text-align: center;
    margin-bottom: 24px;
}

.oc-bank-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #5D001E;
    margin-bottom: 6px;
}

.oc-bank-header p {
    font-size: 13px;
    color: #999;
}

/* ---------- Bank Card ---------- */
.oc-bank-card {
    background: #fff;
    border: 1px solid rgba(93, 0, 30, .06);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.oc-bank-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.oc-bank-logo {
    flex-shrink: 0;
    width: 72px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
}

.oc-bank-info {
    flex: 1;
    min-width: 0;
}

.oc-bank-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.oc-bank-details {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    word-break: break-word;
}

.oc-bank-details strong {
    color: #5D001E;
    font-weight: 600;
}

/* ---------- Copy IBAN Button ---------- */
.oc-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(212, 175, 55, .4);
    border-radius: 6px;
    color: #D4AF37;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    cursor: pointer;
    transition: all .2s;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.oc-copy-btn:hover {
    background: #D4AF37;
    color: #fff;
}

.oc-copy-btn.copied {
    background: #5D001E;
    border-color: #5D001E;
    color: #fff;
}

/* ---------- Action Buttons ---------- */
.oc-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.oc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    border: none;
    cursor: pointer;
}

.oc-btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #c9a22e 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 175, 55, .3);
}

.oc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, .4);
    color: #fff;
}

.oc-btn-outline {
    background: transparent;
    color: #5D001E;
    border: 1.5px solid #5D001E;
}

.oc-btn-outline:hover {
    background: #5D001E;
    color: #fff;
}

.oc-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(220, 53, 69, .25);
}

.oc-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, .35);
    color: #fff;
}

/* ---------- No Bank Message ---------- */
.oc-empty {
    text-align: center;
    padding: 32px 20px;
    background: #faf7f4;
    border-radius: 12px;
    border: 1px dashed rgba(93, 0, 30, .15);
}

.oc-empty img {
    width: 48px;
    margin-bottom: 12px;
    opacity: .5;
}

.oc-empty h5 {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* ---------- Error Page Specific ---------- */
.oc-error-title {
    font-size: 22px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 8px;
}

.oc-error-msg {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ---------- Warn Page Specific ---------- */
.oc-warn-title {
    font-size: 20px;
    font-weight: 700;
    color: #e6a800;
    margin-bottom: 8px;
}

/* ---------- Divider ---------- */
.oc-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #5D001E);
    border-radius: 2px;
    margin: 0 auto 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .oc-card {
        padding: 36px 24px;
        margin-bottom: 28px;
        border-radius: 12px;
    }

    .oc-title {
        font-size: 19px;
    }

    .oc-info-row {
        flex-direction: column;
        align-items: center;
    }

    .oc-info-box {
        max-width: 100%;
        width: 100%;
    }

    .oc-bank-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 16px;
    }

    .oc-bank-logo {
        width: 80px;
        height: 48px;
    }

    .oc-bank-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .oc-card {
        padding: 28px 16px;
    }

    .oc-checkmark-circle,
    .oc-error-circle,
    .oc-warn-circle {
        width: 72px;
        height: 72px;
    }

    .oc-checkmark-circle svg {
        width: 36px;
        height: 36px;
    }

    .oc-error-circle svg {
        width: 32px;
        height: 32px;
    }

    .oc-warn-circle {
        font-size: 36px;
    }

    .oc-title {
        font-size: 17px;
    }

    .oc-info-value {
        font-size: 18px;
    }

    .oc-actions {
        flex-direction: column;
    }

    .oc-btn {
        justify-content: center;
        width: 100%;
    }
}