/* Checkout / Payment / Complete – premium layout */

.co-body {
    background: #0a0a0a;
    min-height: 100vh;
}

.co-wrap {
    display: flex;
    min-height: 100vh;
}

.co-side {
    width: 360px;
    flex-shrink: 0;
    background: #111;
    border-right: 1px solid #262626;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.co-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fafafa;
    letter-spacing: -0.03em;
}
.co-logo span { color: #f9a8d4; }

.co-side-card {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 22px;
}

.co-label {
    font-size: 0.75rem;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.co-total {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}
.co-total small {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a3a3a3;
}

.co-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #262626;
    border-bottom: 1px solid #262626;
}

.co-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(249, 168, 212, 0.12);
    color: #f9a8d4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.co-item-info strong { font-size: 0.9rem; }
.co-item-info span { font-size: 0.75rem; color: #737373; }
.co-item-price { font-weight: 600; font-size: 0.9rem; }

.co-rows {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    color: #a3a3a3;
}
.co-rows > div { display: flex; justify-content: space-between; }
.co-rows-total {
    font-weight: 700;
    color: #fafafa !important;
    font-size: 1rem;
    padding-top: 10px;
    border-top: 1px solid #262626;
    margin-top: 4px;
}

.co-help {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 16px;
    margin-top: auto;
}
.co-help p {
    font-size: 0.85rem;
    color: #a3a3a3;
    margin-bottom: 10px;
}

.co-secure-note {
    font-size: 0.7rem;
    color: #525252;
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-main {
    flex: 1;
    padding: 40px 48px;
    max-width: 640px;
}

.co-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    font-size: 0.8rem;
    color: #737373;
}
.co-step {
    display: flex;
    align-items: center;
    gap: 8px;
}
.co-step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}
.co-step.active { color: #f9a8d4; }
.co-step.active span {
    background: #f9a8d4;
    border-color: #f9a8d4;
    color: #0a0a0a;
    box-shadow: 0 0 16px rgba(249, 168, 212, 0.35);
}
.co-step.done { color: #f9a8d4; }
.co-step.done span {
    background: rgba(249, 168, 212, 0.15);
    border-color: #f9a8d4;
    color: #f9a8d4;
}
.co-line {
    flex: 1;
    height: 1px;
    background: #262626;
    max-width: 48px;
}
.co-line.done { background: rgba(249, 168, 212, 0.4); }

.co-title {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 14px;
    color: #e5e5e5;
}

.co-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 168, 212, 0.1);
    border: 1px solid rgba(249, 168, 212, 0.25);
    color: #f9a8d4;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.co-submit {
    margin-top: 20px;
    padding: 14px !important;
    font-size: 0.95rem !important;
}
.co-foot-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.75rem;
    color: #737373;
}

/* Payment card */
.pay-card {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.pay-coin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #a3a3a3;
    margin-bottom: 14px;
    min-height: 24px;
}

.pay-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f9a8d4;
    box-shadow: 0 0 0 0 rgba(249, 168, 212, 0.5);
    animation: pulseRing 1.6s ease infinite;
}
.pay-pulse.ok {
    background: #4ade80;
    animation: none;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(249, 168, 212, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(249, 168, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 168, 212, 0); }
}

.pay-progress {
    height: 3px;
    background: #262626;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 8px;
}
.pay-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f9a8d4, #ec4899);
    border-radius: 99px;
    transition: width 0.6s ease;
}
.pay-progress-bar.done {
    background: #4ade80;
}

.pay-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #525252;
    margin-bottom: 18px;
}

.amount-box-hl {
    border: 1px solid rgba(249, 168, 212, 0.3);
    background: rgba(249, 168, 212, 0.06) !important;
}

.pay-warn {
    font-size: 0.75rem;
    color: #a3a3a3;
    margin: 10px 0 16px;
    line-height: 1.45;
}
.pay-warn i { color: #f9a8d4; margin-right: 4px; }

.pay-back {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #a3a3a3;
}
.pay-back:hover { color: #f9a8d4; }

.complete-hero {
    text-align: center;
    padding: 24px 0 8px;
}
.complete-hero h1 {
    font-size: 1.6rem;
    font-weight: 750;
    margin-bottom: 6px;
}

/* Animations */
.anim-in {
    opacity: 0;
    transform: translateY(16px);
    animation: coIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes coIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .co-wrap { flex-direction: column; }
    .co-side {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #262626;
    }
    .co-main { padding: 28px 20px; max-width: none; }
}
