:root {
    /* Colors */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    /* Border */
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #374151;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Checkout Page Container */
.checkout-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 24px;
}

.checkout-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.checkout-security-badge svg {
    width: 24px;
    height: 24px;
}

.checkout-security-badge strong {
    font-size: 16px;
    font-weight: 700;
}

.checkout-security-badge span {
    font-size: 14px;
    opacity: 0.9;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.checkout-card-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.checkout-card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card-header svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.checkout-product {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.checkout-product-thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-info {
    flex: 1;
    min-width: 0;
}

.checkout-product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.checkout-product-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.checkout-product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkout-product-meta-item svg {
    width: 16px;
    height: 16px;
}

.checkout-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-account-info {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.checkout-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.checkout-account-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-btn-logout {
    padding: 6px 12px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn-logout:hover {
    background: #dc2626;
}

.checkout-account-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-account-detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-account-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-account-detail-item label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.checkout-account-detail-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.checkout-form-label .required {
    color: var(--danger-color);
}

.checkout-form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.checkout-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkout-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.checkout-form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.checkout-input-prefix {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}

.checkout-form-input.with-prefix {
    padding-left: 30px;
}

.checkout-link-login {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-link-login:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.checkout-card-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-form-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger-color);
}

.checkout-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.checkout-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.checkout-empty-state i {
    width: 48px;
    height: 48px;
    color: var(--text-tertiary);
}

.required {
    color: var(--danger-color);
}

.checkout-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-payment-method {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-payment-method:hover {
    border-color: var(--primary-color);
}

.checkout-payment-method.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.checkout-payment-method input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkout-payment-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 8px;
}

.checkout-payment-method-icon img.bank-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.checkout-payment-method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.checkout-payment-method-info {
    flex: 1;
}

.checkout-payment-method-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.checkout-payment-method-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.checkout-payment-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
}

.checkout-payment-selected-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.checkout-payment-selected-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.checkout-payment-selected-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.checkout-btn-change-payment {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn-change-payment:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.checkout-btn-confirm-payment {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn-confirm-payment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.checkout-coupon-section {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.checkout-btn-toggle-coupon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn-toggle-coupon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.checkout-btn-toggle-coupon svg {
    width: 16px;
    height: 16px;
}

.checkout-coupon-form {
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-coupon-wrapper {
    display: flex;
    gap: 8px;
}

.checkout-coupon-input {
    flex: 1;
    min-width: 0;
}

.checkout-btn-apply-coupon {
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.checkout-btn-apply-coupon:hover {
    background: var(--secondary-color);
}

.checkout-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #dcfce7;
    border: 1px solid #10b981;
    border-radius: var(--border-radius-sm);
    margin-top: 12px;
}

.checkout-coupon-applied-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-coupon-applied-info svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.checkout-coupon-applied-info span {
    font-size: 12px;
    font-weight: 600;
    color: #166534;
}

.checkout-btn-remove-coupon {
    padding: 4px;
    background: transparent;
    border: none;
    color: #166534;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.checkout-btn-remove-coupon:hover {
    background: rgba(22, 101, 52, 0.1);
}

.checkout-btn-remove-coupon svg {
    width: 16px;
    height: 16px;
}

.checkout-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
}

.checkout-summary {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.checkout-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-summary-item label {
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-summary-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-summary-item.discount span {
    color: var(--success-color);
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.checkout-summary-total label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkout-summary-total span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.checkout-btn-checkout svg {
    width: 20px;
    height: 20px;
}

.checkout-info-box {
    margin-top: 20px;
    padding: 16px;
    background: #eff6ff;
    border-left: 4px solid var(--info-color);
    border-radius: var(--border-radius-sm);
}

.checkout-info-box p {
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
    margin: 0;
}

.checkout-affiliate-badge {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f9ff;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.checkout-affiliate-badge i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.checkout-affiliate-badge p {
    text-align: center;
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
}

.checkout-affiliate-badge strong {
    color: #3b82f6;
}

@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 24px 16px;
    }

    .checkout-security-badge {
        flex-direction: column;
        text-align: center;
    }

    .checkout-product {
        flex-direction: column;
    }

    .checkout-product-thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* Invoice Styles */
.invoice-simple-container {
    max-width: 587px;
    margin: 0 auto;
    padding: 60px 24px;
}
.invoice-simple-thank-you {
    text-align: center;
    margin-bottom: 32px;
}

.invoice-payment-detail {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invoice-payment-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    padding: 16px;
}

.invoice-payment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.invoice-payment-header h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.invoice-payment-header svg {
    width: 18px;
    height: 18px;
    color: #6366f1;
}

.invoice-va-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    padding: 12px 14px;
    border-radius: 10px;
}

.invoice-va-number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111827;
}

.invoice-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4f46e5;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
}

.invoice-copy-btn:hover {
    background: #e0e7ff;
}

.invoice-copy-btn svg {
    width: 14px;
    height: 14px;
}

.invoice-payment-note {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.invoice-qris-card {
    text-align: center;
}

.invoice-qris-image {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.invoice-qris-image img {
    max-width: 220px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 8px;
}

.invoice-qris-text {
    font-size: 14px;
    color: #374151;
}


.invoice-payment-guide {
    margin-top: 24px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.invoice-payment-guide-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.invoice-payment-guide-header i {
    color: #2563eb;
    width: 18px;
    height: 18px;
}

.invoice-payment-guide-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.invoice-payment-guide-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-guide-method {
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.payment-guide-method-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.payment-guide-steps {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-guide-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.payment-guide-steps li::before {
    content: counter(step);
}

.payment-guide-steps {
    counter-reset: step;
}

.payment-guide-steps li::before {
    counter-increment: step;
    content: counter(step);
    min-width: 22px;
    height: 22px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.payment-guide-steps .step-text {
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}

.payment-guide-steps .step-text b {
    color: #111827;
}

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

.invoice-simple-thank-you h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.invoice-simple-amount-section {
    text-align: center;
    margin-bottom: 40px;
}

.invoice-paypal-redirect {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.invoice-paypal-redirect h3 {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
}

.invoice-paypal-redirect p {
    color: #6b7280;
    margin-top: 6px;
}

.invoice-paypal-redirect small {
    display: block;
    margin-top: 12px;
    color: #9ca3af;
}

.invoice-paypal-redirect a {
    color: #2563eb;
    font-weight: 500;
}

.paypal-loader {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e7eb;
    border-top-color: #0070ba;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.invoice-simple-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.invoice-simple-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.invoice-simple-btn-copy:hover {
    background: var(--primary-color);
    color: white;
}

.invoice-simple-btn-copy svg {
    width: 16px;
    height: 16px;
}

.invoice-simple-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.invoice-simple-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.invoice-simple-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-simple-detail-item label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.invoice-simple-detail-item strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.invoice-simple-bank-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invoice-simple-bank-info strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.invoice-simple-bank-account {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.invoice-simple-bank-account span {
    font-family: "Courier New", monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.invoice-simple-btn-copy-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--primary-color, #3b82f6);
    opacity: 0.6;
    transition: all 0.2s ease;
    border-radius: 6px;
    position: relative;
}

.invoice-simple-btn-copy-small:hover {
    opacity: 1;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.invoice-simple-btn-copy-small:active {
    transform: scale(0.95);
}

.invoice-simple-btn-copy-small:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.invoice-simple-btn-copy-small svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.invoice-simple-btn-copy-small:hover svg {
    transform: translateY(-1px);
}

.invoice-simple-btn-copy-small.copied {
    color: #10b981;
}

.invoice-simple-btn-copy-small.copied svg {
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.invoice-simple-btn-copy-small::after {
    content: "Copy";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    margin-bottom: 4px;
}

.invoice-simple-btn-copy-small:hover::after {
    opacity: 1;
}

.invoice-simple-btn-copy-small.copied::after {
    content: "Copied!";
    color: #10b981;
}

.invoice-simple-bank-owner span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.invoice-simple-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
}

.invoice-simple-status.expired {
    background: #6b7280;
    color: #fff;
}

.invoice-simple-status.unpaid {
    background: #fef3c7;
    color: #92400e;
}

.invoice-simple-status.confirmed {
    background: #fef3c7;
    color: #92400e;
}

.invoice-simple-status.paid {
    background: #dcfce7;
    color: #166534;
}

.invoice-simple-payment-method {
    margin-bottom: 32px;
    text-align: center;
}

.invoice-simple-payment-method h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    text-align: center;
}

.invoice-simple-payment-info {
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 24px;
}

.invoice-simple-payment-info p {
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.invoice-simple-payment-info strong {
    color: var(--text-primary);
}

.invoice-simple-payment-info a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.invoice-simple-payment-info a:hover {
    color: var(--secondary-color);
}

.invoice-simple-btn-confirm {
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
}

.invoice-simple-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.invoice-simple-btn-confirm:active {
    transform: translateY(0);
}

.invoice-simple-btn-confirm svg {
    width: 20px;
    height: 20px;
}

.invoice-simple-btn-confirm.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.invoice-simple-btn-confirm.loading svg {
    animation: spin 1s linear infinite;
}

.invoice-simple-status-box {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.invoice-simple-status-box i {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.invoice-simple-status-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.invoice-simple-status-box p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: var(--text-secondary);
}

.invoice-simple-status-box p:last-of-type {
    margin-bottom: 0;
}

.status-confirmed {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

.status-confirmed i {
    color: #d97706;
}

.status-confirmed h3 {
    color: #92400e;
}

.status-success {
    background: #d1fae5;
    border: 2px solid #10b981;
}

.status-success i {
    color: #059669;
}

.status-success h3 {
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    border: 2px solid #ef4444;
}

.status-cancelled i {
    color: #dc2626;
}

.status-cancelled h3 {
    color: #991b1b;
}

.status-expired {
    background: #f3f4f6;
    border: 2px solid #9ca3af;
}

.status-expired i {
    color: #6b7280;
}

.status-expired h3 {
    color: #374151;
}

.invoice-simple-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #128c7e;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.invoice-simple-btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.invoice-simple-btn-whatsapp i {
    width: 20px;
    height: 20px;
}

.invoice-simple-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.invoice-simple-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.invoice-simple-btn-secondary i {
    width: 20px;
    height: 20px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .invoice-simple-container {
        padding: 40px 16px;
    }

    .invoice-simple-amount {
        font-size: 36px;
    }

    .invoice-simple-card {
        padding: 24px;
    }

    .invoice-simple-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

[data-theme="dark"] .invoice-simple-card {
    background: var(--bg-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
