@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --phonepe-green: #3a8e3d;
    --phonepe-green-light: #d8f3e5;
    --text-primary: #1a1a1a;
    --text-secondary: #757575;
    --bg-light: #f6f6f6;
    --bg-card: #ffffff;
    --action-purple: #5f259f;
    --action-bg: #f2eafd;
    --divider: #e2e5ea;
    --dashboard-bg: #0f172a;
    --panel-bg: #1e293b;
    --code-tag: #38bdf8;
    --code-attr: #f59e0b;
    --code-val: #34d399;
    --code-comment: #64748b;
    --code-text: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--dashboard-bg);
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header.dashboard-header {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header.dashboard-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header.dashboard-header .badge {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.main-container {
    flex: 1;
    display: flex;
    padding: 2rem;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   PHONE MOCKUP STYLES
   ========================================================================== */

.preview-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 380px;
}

.phone-bezel {
    width: 368px;
    height: 772px;
    background: #0d0d0d;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 0 2px rgba(255, 255, 255, 0.08),
                inset 0 0 2px 2px rgba(255, 255, 255, 0.15);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Speaker & Camera (Android Punch-Hole style) */
.phone-bezel::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #151518;
    border: 1.5px solid #28282b;
    border-radius: 50%;
    z-index: 20;
    box-shadow: inset 0 0 2px #000;
}

/* Screen Shell */
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 24px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Hide scrollbar */
.phone-screen::-webkit-scrollbar {
    display: none;
}

/* Status Bar & Notch */
.status-bar {
    height: 38px;
    padding: 8px 16px 0 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--phonepe-green);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 500;
    z-index: 10;
    position: relative;
}

.status-bar-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-volte-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    line-height: 1;
}

.volte-row {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 5.5px;
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: -0.01em;
}

.sim-card-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0.8px solid #ffffff;
    border-radius: 1px;
    width: 6.5px;
    height: 6.5px;
    font-size: 4.5px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    background-color: transparent;
}

.status-network-signal {
    display: flex;
    align-items: flex-end;
    gap: 1px;
}

.status-5g-plus {
    font-size: 7.5px;
    font-weight: 800;
    line-height: 0.9;
    color: #ffffff;
    opacity: 0.95;
    margin-right: -1px;
}

.status-5g-plus sup {
    font-size: 5px;
    font-weight: 800;
    top: -1.5px;
    left: -0.5px;
}

.status-signal-bars {
    flex-shrink: 0;
    opacity: 0.95;
}

.status-icon-battery {
    margin-left: 2px;
    flex-shrink: 0;
}

.status-battery-percent {
    font-size: 11px;
    font-weight: 600;
    margin-left: 1px;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#mock-status-time {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Style for inline editable elements */
[contenteditable="true"] {
    outline: none;
    border-bottom: 1px dashed transparent;
    transition: border-bottom-color 0.2s, background-color 0.2s;
    cursor: text;
    padding: 0 2px;
    border-radius: 2px;
}

[contenteditable="true"]:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
}

.receipt-body [contenteditable="true"]:hover {
    border-bottom-color: rgba(95, 37, 159, 0.4);
    background-color: rgba(95, 37, 159, 0.05);
}

[contenteditable="true"]:focus {
    border-bottom-color: var(--action-purple);
    background-color: rgba(95, 37, 159, 0.1);
    box-shadow: 0 0 0 2px rgba(95, 37, 159, 0.1);
}

/* Receipt Top Header */
.receipt-header {
    background: var(--phonepe-green);
    padding: 8px 16px 16px 16px;
    color: #ffffff;
    margin-top: -1px; /* Overlap with status-bar to prevent subpixel rendering gaps */
}

.receipt-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 36px;
    gap: 16px;
}

.header-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.back-arrow {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}

.back-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
}

.receipt-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.receipt-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

/* Receipt Body/Cards */
.receipt-body {
    padding: 0 14px;
    margin-top: 14px;
    flex: 1;
}

.receipt-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
}

.card-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sender-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sender-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-mg {
    width: 44px;
    height: 44px;
    background: #28b5f5;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.sender-details h4 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
}

.sender-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.amount-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.divider {
    height: 1px;
    background: var(--divider);
    margin: 16px 0;
}

/* Transfer Details Dropdown Header */
.details-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.details-title-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
}

.details-content {
    margin-top: 16px;
}

.details-field {
    margin-bottom: 14px;
}

.details-field:last-child {
    margin-bottom: 0;
}

.field-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.field-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.field-value {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 400;
}

.credited-to-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-au {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.credited-details h5 {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-primary);
}

.utr-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.utr-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.copy-icon-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 4px;
    transition: background 0.1s;
}

.copy-icon-btn:hover {
    background: #f1f3f5;
}

/* Quick Actions Button Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.action-circle {
    width: 46px;
    height: 46px;
    background: var(--action-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.action-btn:hover .action-circle {
    transform: scale(1.05);
    background: #e9deff;
}

.action-label {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 6px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* Support Card */
.support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s;
}

.support-card:hover {
    background-color: #fbfbfc;
}

.support-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* Simulated Android Gesture Navigation Bar */
.home-indicator {
    height: 2.5px;
    width: 84px;
    background: #a3a3a3;
    border-radius: 1.25px;
    margin: 12px auto 6px auto;
    opacity: 0.85;
}

/* Footer / Powered By */
.receipt-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
    margin-bottom: 12px;
}

.powered-by-text {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logos-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.upi-logo {
    font-size: 0.85rem;
    font-weight: 800;
    font-style: italic;
    color: #097e4f;
    letter-spacing: -0.05em;
}

.upi-logo span {
    color: #0b5cab;
}

.bank-divider {
    width: 1px;
    height: 12px;
    background: #d1d5db;
}

.icici-logo {
    font-size: 0.82rem;
    font-weight: 700;
    color: #003566;
    letter-spacing: -0.02em;
}

.icici-logo span {
    color: #e55f1f;
}


/* ==========================================================================
   CODE EDITOR / PANEL STYLES
   ========================================================================== */

.code-section {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    background: var(--panel-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 780px;
}

@media (max-width: 1024px) {
    .code-section {
        width: 100%;
        height: 600px;
    }
}

.code-header {
    background: rgba(15, 23, 42, 0.4);
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    color: var(--code-attr);
    font-size: 1.1rem;
}

.file-name {
    font-family: monospace;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.copy-code-btn.copied {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.2);
}

.code-body {
    flex: 1;
    overflow: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 1.5rem;
    background: #0b0f19;
}

/* Syntax Highlighting */
.code-body pre {
    margin: 0;
}

.code-line {
    display: flex;
}

.line-number {
    width: 2.5rem;
    text-align: right;
    padding-right: 1.25rem;
    color: #475569;
    user-select: none;
}

.line-content {
    white-space: pre;
    color: var(--code-text);
}

.xml-tag { color: var(--code-tag); }
.xml-attr { color: var(--code-attr); }
.xml-val { color: var(--code-val); }
.xml-comment { color: var(--code-comment); }

/* Custom toast notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   COMPARE MODE STYLES
   ========================================================================== */

.preview-tabs {
    display: flex;
    background: rgba(30, 41, 59, 0.6);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #cbd5e1;
}

.tab-btn.active {
    background: var(--panel-bg);
    color: #38bdf8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

.compare-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.compare-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.compare-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.upload-bezel {
    width: 312px;
    height: 656px;
    background: #0d0d0d;
    border-radius: 26px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Punch hole for upload bezel */
.upload-bezel::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #151518;
    border-radius: 50%;
    z-index: 20;
}

.upload-screen {
    width: 100%;
    height: 100%;
    background: #0b0f19;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    transition: border-color 0.2s, background-color 0.2s;
}

.upload-screen:hover {
    border-color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.02);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
    text-align: center;
    padding: 24px;
    pointer-events: none;
}

.upload-placeholder svg {
    color: #475569;
    transition: color 0.2s;
}

.upload-screen:hover .upload-placeholder svg {
    color: #38bdf8;
}

.upload-placeholder p {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.compare-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
}

/* Smaller Bezel for Side-by-Side Compare */
.phone-bezel.compare-mode {
    width: 312px;
    height: 656px;
    padding: 6px;
    border-radius: 26px;
}

.phone-bezel.compare-mode .phone-screen {
    border-radius: 20px;
}

.phone-bezel.compare-mode::before {
    width: 8px;
    height: 8px;
    top: 11px;
    border-radius: 50%;
}

/* Editor Panel Styles */
.editor-section {
    width: 320px;
    background: var(--panel-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 780px;
    overflow-y: auto;
}

.editor-section h2 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--action-purple);
}

.form-group select {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

.form-group select:focus {
    border-color: var(--action-purple);
}

.form-group-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.form-group-checkbox input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--action-purple);
    margin: 0;
}

.form-group-checkbox label {
    margin: 0;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: normal;
    color: #cbd5e1;
    cursor: pointer;
    font-weight: 500;
}

/* Spinner Animation for Screenshot Button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Screen 2: Payment Confirmation Styles */
.status-bar-ios {
    height: 38px;
    padding: 8px 16px 0 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--phonepe-green);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-bar-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ios-location-icon {
    transform: rotate(45deg);
    opacity: 0.95;
}

.status-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ios-signal, .ios-wifi {
    opacity: 0.95;
}

.ios-battery-capsule {
    display: flex;
    align-items: center;
    position: relative;
}

.ios-battery-body {
    width: 25px;
    height: 12.5px;
    border: 1.2px solid rgba(255, 255, 255, 0.5);
    border-radius: 3.5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1px;
}

.ios-battery-level {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    background-color: #ffffff;
    border-radius: 1.5px;
    z-index: 1;
}

#mock-battery-percent-ios {
    font-size: 8px;
    font-weight: 800;
    color: #0b7a42; /* Dark green text inside white battery background */
    z-index: 2;
    line-height: 1;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ios-battery-terminal {
    width: 1.5px;
    height: 4.5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0 1.5px 1.5px 0;
    margin-left: 1px;
}

.success-header {
    background: var(--phonepe-green);
    padding: 12px 16px 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.success-checkmark-circle {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.success-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-subtitle {
    font-size: 0.8rem;
    opacity: 0.95;
    margin-top: 5px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-card {
    background: #ffffff;
    border-radius: 16px;
    margin: -16px 16px 16px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

.success-card-main {
    padding: 20px 16px 16px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.success-avatar {
    width: 46px;
    height: 46px;
    background-color: #c2185b; /* Magenta/Purple */
    color: #ffffff;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-recipient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.success-recipient-info h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-recipient-info p {
    font-size: 0.82rem;
    color: #666666;
    margin: 2px 0 8px 0;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-amount-row {
    display: flex;
    align-items: baseline;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2px;
}

.success-amount-symbol {
    font-size: 1.15rem;
    margin-right: 1px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-amount-val {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-split-btn {
    font-size: 0.82rem;
    font-weight: 700;
    color: #5f259f;
    cursor: pointer;
    position: absolute;
    right: 16px;
    bottom: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-card-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0 16px;
}

.success-card-actions {
    display: flex;
    padding: 14px 0;
}

.success-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-action-btn:first-child {
    border-right: 1px solid #f0f0f0;
}

.success-action-icon-circle {
    width: 32px;
    height: 32px;
    background-color: #f5eeff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatgpt-ad-card {
    background: linear-gradient(135deg, #2a1b54 0%, #150a30 100%);
    border-radius: 16px;
    margin: 0 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.chatgpt-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatgpt-title-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chatgpt-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatgpt-plus-circle {
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatgpt-bubble {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 8px 32px 8px 12px;
    font-size: 0.72rem;
    color: #1a1a1a;
    line-height: 1.3;
    position: relative;
    flex: 1;
    text-align: left;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chatgpt-send-circle {
    width: 20px;
    height: 20px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.chatgpt-footer {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.chatgpt-ask-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 12px 0;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: #cccccc;
    border-radius: 50%;
}

.dot.active {
    background-color: #333333;
}

.success-footer {
    background-color: #ffffff;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto; /* Push to bottom of the flex screen */
    border-top: 1px solid #f0f0f0;
}

.success-done-btn {
    background: transparent;
    border: none;
    color: #5f259f;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


