.transaction-detail-container {
    padding: 24px 20px;
    background: #f7f9fc;
    border-radius: 12px;
    font-family: -apple-system, SF Pro Text, Roboto, Helvetica, sans-serif;
}

.transaction-detail-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(142, 135, 155, 0.08);
    border: 1px solid #eef2f5;
    padding: 24px 20px;
    position: relative;
}

.transaction-header {
    text-align: center;
    padding-bottom: 20px;
}

.transaction-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(1, 206, 203, 0.1) 0%, rgba(78, 33, 120, 0.1) 100%);
    margin-bottom: 12px;
    animation: scaleIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.transaction-icon-wrapper i {
    font-size: 26px;
    color: #4E2178;
    background: linear-gradient(135deg, #01cecb 0%, #4E2178 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.transaction-description {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 6px;
    line-height: 1.4;
}

.transaction-big-amount {
    font-size: 30px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.transaction-big-amount .currency {
    font-size: 14px;
    font-weight: 600;
    color: #8792a2;
}

/* Status Badge Styles */
.transaction-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Status colors mapping */
.status-badge-COMPLETED, .status-badge-completed, .status-badge-SUCCESSFUL, .status-badge-successful {
    background-color: #e6f7ed;
    color: #2e7d32;
}
.status-badge-COMPLETED .status-dot, .status-badge-completed .status-dot, .status-badge-SUCCESSFUL .status-dot, .status-badge-successful .status-dot {
    background-color: #2e7d32;
}

.status-badge-PENDING, .status-badge-pending, .status-badge-PROCESSING, .status-badge-processing {
    background-color: #fff8e6;
    color: #b78103;
}
.status-badge-PENDING .status-dot, .status-badge-pending .status-dot, .status-badge-PROCESSING .status-dot, .status-badge-processing .status-dot {
    background-color: #b78103;
}

.status-badge-FAILED, .status-badge-failed, .status-badge-REJECTED, .status-badge-rejected {
    background-color: #fdf2f2;
    color: #c53030;
}
.status-badge-FAILED .status-dot, .status-badge-failed .status-dot, .status-badge-REJECTED .status-dot, .status-badge-rejected .status-dot {
    background-color: #c53030;
}

/* Decorative Receipt Divider */
.receipt-divider {
    position: relative;
    height: 1px;
    margin: 22px 0;
}

.divider-line {
    border-top: 2px dashed #e3e8ee;
    height: 0;
}

.receipt-divider::before,
.receipt-divider::after {
    content: '';
    position: absolute;
    top: -7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #f7f9fc; /* Matches parent background to create cut-out effect */
    border: 1px solid #eef2f5;
    box-sizing: border-box;
}

.receipt-divider::before {
    left: -28px;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(45deg);
}

.receipt-divider::after {
    right: -28px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
}

/* Details list */
.transaction-details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 24px;
}

.detail-label {
    font-size: 13px;
    color: #697386;
    font-weight: 500;
}

.detail-value {
    font-size: 13px;
    color: #1a1f36;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

.text-monospace {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #4f566b;
}

.receipt-subdivider {
    border-top: 1px solid #f4f6f8;
    margin: 6px 0;
}

.total-row {
    margin-top: 4px;
}

.total-row .detail-label {
    font-size: 14px;
    color: #1a1f36;
    font-weight: 700;
}

.total-row .total-amount-value {
    font-size: 18px;
    font-weight: 800;
    color: #01cecb;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
