* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
}

body {
    background-color: #EAF8E6;
    color: #1A1A1A;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 15px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2e7d32;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.btn {
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
}

.transaction-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
}

.transaction-amount {
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    margin-bottom: 5px;
}

.transaction-name {
    color: #555;
    font-size: 14px;
    flex: 1;
}

.transaction-date {
    color: #888;
    font-size: 12px;
}

/* Transaction Details Page */
body {
    background-color: #e8f5e9;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #EAF8E6;
    min-height: 100vh;
}

.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px 20px;
    background-color: #EAF8E6;
    position: relative;
}

.back-btn {
    font-size: 30px;
    text-decoration: none;
    color: #8C939E;
    font-weight: 600;
}

.transaction-id {
    font-size: 16px;
    color: #6B7280;
    opacity: 0.6;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-align: center;
    font-feature-settings: "tnum" 1, "lnum" 1;
    justify-self: center;
    transform: translateY(10px);
    white-space: nowrap;
}

.share-help {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-self: end;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.share-icon, .help-icon { display: none; }

/* Header chips */
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background-color: transparent;
    border: 1px solid #E6EAEE;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

/* Circular icon treatment inside chips to match reference */
.chip .material-icons-round {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #E6EAEE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #6B7280;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Font Awesome WhatsApp icon styling inside chips */
.whatsapp-fa {
    background-color: #f7f9fc00;
    color: #6B7280;
    border: 1px solid #EAEFF5;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
}

.success-card {
    background: #EAF8E6;
    padding: 12px 20px 24px;
    margin-bottom: 16px;
    text-align: left;
}

.amount {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.success-icon {
    color: #11A44A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -5px;
    font-size: 32px;
    vertical-align: middle;
}

/* Align amount and check icon inline to match reference */
.amount-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-text {
    font-size: 16px;
    margin: 15px 0 5px;
    color: #1A1A1A;
}

.transaction-date {
    font-size: 14px;
    color: #667085;
    margin-top: 5px;
}

.details-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
    border: 1px solid #EAEFF5;
}

.detail-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    position: relative;
}

.detail-section:not(:last-child) {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-label {
    width: auto;
    color: hsl(214, 12%, 65%);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.detail-value {
    flex: 1;
}

.recipient-name, .sender-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #1A1A1A;
    text-transform: uppercase;
}

.recipient-account, .sender-bank {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.order-id, .upi-id {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 700;
}

.recipient-avatar {
    position: absolute;
    right: 0;
    top: 10px;
    width: 40px;
    height: 40px;
    background-color: #af89f0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-top: 0;
}

.action-btn {
    flex: none;
    padding: 8px 14px;
    border: 1px solid #E6EAEE;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    background-color: #ffffff;
    color: #0066CC;
}

.view-history {
    background-color: #ffffff;
    color: #0066CC;
}

.pay-again {
    background-color: #ffffff;
    color: #0066CC;
}

.copy-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 18px;
}

.recipient-icon, .copy-icon {
    width: 30px;
    height: 30px;
    background-color: #9c27b0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.copy-icon {
    background-color: transparent;
    color: #777;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 15px;
    padding-top: 0;
    border-top: 0;
}

.action-btn {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid #E6EAEE;
    background-color: #ffffff;
    color: #0066CC;
    cursor: pointer;
    flex: none;
    margin: 0;
}

.action-btn.primary {
    background-color: #2e7d32;
    color: white;
    border: none;
}

/* Transaction detail rows & copy chip */
.detail-item {
    color: #9AA3AF;
    font-size: 16px;
    font-weight: 500;
}

.detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
}

.detail-row + .detail-row {
    border-top: 1px solid #EAEFF5;
}

.copy-icon { display: none; }

.copy-chip {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9AA3AF;
    cursor: pointer;
}

.copy-img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Bank Accounts Styling */
.account-list {
    display: flex;
    flex-direction: column;
}

.account-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.account-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.account-bank {
    color: #555;
    font-size: 14px;
    margin-bottom: 5px;
}

.account-number {
    color: #888;
    font-size: 14px;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}

.nav-btn {
    display: inline-block;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 15px;
    }
    
    .amount {
        font-size: 28px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
.detail-item-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
}