:root {
    /* Accent Colors */
    --accent-color: #00c853;
    --accent-red: #ff4b2b;
    --accent-red-light: #ff416c;

    /* Primary Colors */
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --primary-gradient: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );

    /* Secondary Colors */
    --secondary-color: #fdb913;
    --secondary-dark: #e5a710;

    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e0e0e0;

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;

    --border-color: #e0e0e0;
    --border-focus: var(--primary-color);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 0 30px rgba(0, 0, 0, 0.1);

    /* Dark Mode Colors */
    --dark-bg-primary: #1a1a1a;
    --dark-bg-secondary: #2a2a2a;
    --dark-bg-tertiary: #3a3a3a;

    --dark-text-primary: #ffffff;
    --dark-text-secondary: #aaaaaa;
    --dark-text-tertiary: #666666;

    --dark-border-color: #3a3a3a;
    --dark-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 28px;
    --font-size-2xl: 32px;
    --font-size-3xl: 46px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 30px;
    --spacing-4xl: 40px;
    --spacing-5xl: 50px;
    --spacing-6xl: 60px;
    --spacing-7xl: 70px;
    --spacing-8xl: 80px;
    --spacing-base: 10px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 25px;
    --radius-2xl: 30px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-base: 0.3s;
    --transition-slow: 0.5s;

    /* Opacity */
    --opacity-overlay: 0.15;
    --opacity-disabled: 0.5;
    --opacity-hover: 0.8;
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    max-width: 430px;
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: background var(--transition-base), color var(--transition-base);
}

/* Dark Mode */
.dark-mode {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.dark-mode .screen {
    background: var(--dark-bg-primary);
}

.dark-mode .login-screen,
.dark-mode .register-screen {
    background: var(--dark-bg-primary);
}

.dark-mode .auth-header h1 {
    color: var(--dark-text-primary);
}

.dark-mode .auth-header p {
    color: var(--dark-text-secondary);
}

.dark-mode .form-control {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
}

.dark-mode .form-control:focus {
    background: var(--dark-bg-secondary);
    border-color: var(--primary-color);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
}

.dark-mode .form-label {
    color: var(--dark-text-primary);
}

/* when the select is in focus */
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.dark-mode .form-select {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
}

.dark-mode .form-control::placeholder {
    color: var(--dark-text-secondary);
}

.dark-mode .form-group label {
    color: var(--dark-text-primary);
}

.dark-mode .checkbox-label {
    color: var(--dark-text-secondary);
}

.dark-mode .back-btn {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

.dark-mode .btn-outline-secondary {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
}

.dark-mode .divider span {
    background: var(--dark-bg-primary);
    color: var(--dark-text-tertiary);
}

.dark-mode .divider::before,
.dark-mode .divider::after {
    background: var(--dark-bg-tertiary);
}

.dark-mode .home-screen {
    background: var(--dark-bg-secondary);
}

.dark-mode .task-section {
    background: var(--dark-bg-primary);
}

.dark-mode .transaction-item {
    border-bottom-color: var(--dark-bg-tertiary);
}

.dark-mode .transaction-details h4 {
    color: var(--dark-text-primary);
}

.dark-mode .notification-banner {
    background: var(--dark-bg-secondary);
    box-shadow: var(--dark-shadow-md);
}

.dark-mode .bottom-nav {
    background: var(--dark-bg-primary);
    border-top-color: var(--dark-bg-tertiary);
}

.dark-mode .auth-footer p {
    color: var(--dark-text-secondary);
}

.screen {
    min-height: 100vh;
    /* padding: 0; */
    display: flex;
    flex-direction: column;
}

/* Onboarding Screen */
.onboarding-screen {
    background: var(--primary-gradient);
    color: var(--bg-primary);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.onboarding-content {
    width: 100%;
    max-width: 350px;
}

.onboarding-slides {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    animation: fadeIn var(--transition-slow) ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(var(--spacing-xl));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.onboarding-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-3xl);
    backdrop-filter: blur(10px);
}

.onboarding-circle i {
    font-size: 50px;
}

.slide h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.slide p {
    font-size: var(--font-size-md);
    opacity: 0.9;
    line-height: 1.6;
}

.dots {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-4xl) 0 var(--spacing-3xl);
}

.dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.dots span.active {
    width: 24px;
    border-radius: var(--spacing-xs);
    background: var(--bg-primary);
}

.onboarding-actions {
    margin-top: var(--spacing-xl);
}

.onboarding-actions .button {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: none;
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.onboarding-actions .button :hover {
    opacity: var(--opacity-hover);
    background: var(--bg-primary);
}

.onboarding-actions .btn-link {
    color: var(--bg-primary);
    text-decoration: none;
    opacity: var(--opacity-hover);
}

/* Auth Screens */
.login-screen,
.register-screen {
    justify-content: flex-start;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-y: auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

.auth-header {
    margin-bottom: var(--spacing-4xl);
    position: relative;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--bg-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--spacing-xl);
    color: var(--text-primary);
    transition: background var(--transition-base);
}

.auth-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-md);
}

.auth-form {
    flex: 1;
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
}

.form-control {
    width: 100%;
    padding: var(--spacing-base) var(--spacing-lg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    transition: transform var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--accent-red);
    border: none;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    transition: transform var(--transition-fast);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.divider {
    text-align: center;
    margin: var(--spacing-2xl) 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}
.divider::after {
    right: 0;
}

.divider span {
    background: var(--bg-primary);
    padding: 0 15px;
    color: var(--text-tertiary);
    font-size: var(--font-size-base);
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* Home Screen */
.home-screen {
    padding: 0;
    background: var(--secondary-color);
    overflow-y: auto;
}

.dark-mode .home-screen {
    background: var(--dark-bg-secondary);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
}

.status-icons {
    display: flex;
    gap: 6px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    /* position: sticky;
    top: 0;
    z-index: 100; */
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
}

.icon-btn:hover {
    transform: scale(1.05);
}

.initials {
    font-weight: var(--font-weight-bold);
    color: var(--bg-primary);
    font-size: var(--font-size-md);
}

.icon-btn i {
    font-size: var(--spacing-xl);
    color: var(--bg-primary);
}

/* Swipeable Balance Cards */
.balance-container {
    overflow: hidden;
    position: relative;
    padding-bottom: var(--spacing-3xl);
}

.balance-slider {
    display: flex;
    transition: transform var(--transition-base) ease-out;
    touch-action: pan-y;
}

.balance-card {
    min-width: 100%;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    flex-shrink: 0;
}

.account-type {
    font-size: var(--font-size-md);
    margin-bottom: 15px;
    color: rgba(0, 0, 0, 0.7);
}

.dark-mode .account-type {
    color: rgba(255, 255, 255, 0.7);
}

.balance {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.decimal {
    font-size: var(--font-size-2xl);
    color: rgba(0, 0, 0, 0.7);
}

.dark-mode .decimal {
    color: rgba(255, 255, 255, 0.7);
}

.eye-btn {
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border: none;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dark-mode .account-number {
    background: rgba(255, 255, 255, var(--opacity-overlay));
    color: var(--bg-primary);
}

.account-number {
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border: none;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-xl);
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.slide-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.slide-dots span {
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.slide-dots span.active {
    width: 18px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
}

.dark-mode .slide-dots span {
    background: rgba(255, 255, 255, 0.3);
}

.dark-mode .slide-dots span.active {
    background: rgba(255, 255, 255, 0.7);
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.action-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    text-decoration: none;
}

.action-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--spacing-2xl);
    color: var(--bg-primary);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
}

.action-btn:hover .action-icon {
    transform: scale(1.1);
}

.action-btn span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(0, 0, 0, 0.8);
}

.dark-mode .action-btn span {
    color: rgba(255, 255, 255, 0.8);
}

/* Swipeable Notification Banners */
.notification-container {
    overflow: hidden;
    position: relative;
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.notification-slider {
    display: flex;
    transition: transform var(--transition-base) ease-out;
    touch-action: pan-y;
}

.notification-banner {
    min-width: calc(100% - 40px);
    background: var(--bg-primary);
    margin-right: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.dark-mode .notification-banner {
    background: var(--dark-bg-secondary);
}

.notification-content {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.notification-icon {
    font-size: var(--font-size-2xl);
}

.notification-text h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.notification-text p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
}

.dark-mode .notification-text h4 {
    color: var(--dark-text-primary);
}
.dark-mode .notification-text p {
    color: var(--dark-text-secondary);
}

.close-btn {
    background: none;
    border: none;
    font-size: var(--spacing-2xl);
    color: var(--text-tertiary);
    cursor: pointer;
    flex-shrink: 0;
}

.task-section {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    padding: var(--spacing-2xl) var(--spacing-xl) 100px;
    flex: 1;
}

.dark-mode .task-section {
    background: var(--dark-bg-primary);
}

.task-section h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

.dark-mode .task-section h3 {
    color: var(--dark-text-primary);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.dark-mode .transaction-item {
    border-bottom-color: var(--dark-bg-tertiary);
}

.transaction-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(
        135deg,
        var(--accent-red-light),
        var(--accent-red)
    );
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.transaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: var(--spacing-xl);
    z-index: 1;
}

.transaction-icon i {
    font-weight: var(--font-weight-bold);
}

.transaction-details {
    flex: 1;
}

.transaction-details h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.transaction-details p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

.transaction-amount {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.transaction-amount.positive {
    color: green;
}

.transaction-amount.negative {
    color: var(--accent-red);
}

.view-all-btn {
    color: var(--text-tertiary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--bg-primary);
    display: flex;
    justify-content: space-around;
    padding: var(--spacing-md) var(--spacing-xl) 28px;
    border-top: 1px solid var(--bg-tertiary);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    transition: background var(--transition-base),
        border-color var(--transition-base);
    z-index: 1;
}

.dark-mode .bottom-nav {
    background: var(--dark-bg-primary);
    border-top-color: var(--dark-bg-tertiary);
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
    text-decoration: none;
}

.nav-item i {
    font-size: 22px;
}

.nav-item span {
    font-size: var(--font-size-xs);
}

.nav-item.active {
    color: var(--text-primary);
}

.dark-mode .nav-item.active {
    color: var(--dark-text-primary);
}

/* Responsive */
@media (max-width: 430px) {
    .app-container {
        max-width: 100%;
    }

    .bottom-nav {
        max-width: 100%;
    }
}

.mobile-warning {
    text-align: center;
    padding: var(--spacing-4xl);
    max-width: 400px;
    margin: 50px auto;
    font-size: 1.2rem;
}

/* Investment Screen Styles */
.investment-screen,
.investment-detail-screen {
    padding: 0;
    padding-bottom: 80px;
}

/* Header */
.investment-header,
.loan-header,
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dark-mode .investment-header,
.dark-mode .loan-header,
.dark-mode .detail-header,
.dark-mode .payments-header {
    background: var(--dark-bg-primary);
    border-bottom-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

.investment-header h1,
.loan-header h1,
.detail-header h1 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    flex: 1;
    text-align: center;
}

.back-button,
.notification-btn,
.refresh-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
    color: var(--text-primary);
    position: relative;
}

.dark-mode .back-button,
.dark-mode .notification-btn,
.dark-mode .refresh-btn {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

.back-button:hover,
.notification-btn:hover,
.refresh-btn:hover {
    transform: scale(1.05);
}

.btn-back {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
    color: var(--text-primary);
}

.btn-back:hover {
    transform: scale(1.05);
}

.dark-mode .btn-back {
    color: var(--dark-text-primary);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
}

/* Tabs */
.investment-tabs {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--bg-primary);
}

.dark-mode .investment-tabs {
    background: var(--dark-bg-primary);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .tab-btn {
    background: var(--dark-bg-primary);
    color: var(--dark-text-secondary);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

/* Content */
.investment-content {
    padding: var(--spacing-xl);
}

/* Stocks List */
.stocks-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.stock-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.dark-mode .stock-card {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.stock-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stock-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stock-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode .stock-logo {
    background: var(--dark-bg-secondary);
}

.stock-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    color: var(--primary-color);
    background: var(--primary-gradient);
    color: white;
}

.stock-info {
    flex: 1;
}

.stock-info h3 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.stock-info p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

.featured-badge {
    color: #ffb300;
    font-size: var(--font-size-lg);
}

.stock-details {
    margin-bottom: var(--spacing-md);
}

.stock-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.stock-price .price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.price-change {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.price-change.positive {
    background: rgba(0, 200, 83, 0.1);
    color: green;
}

.price-change.negative {
    background: rgba(255, 75, 43, 0.1);
    color: var(--accent-red);
}

.stock-meta {
    display: flex;
    gap: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.stock-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    /* color: var(--primary-color); */
    font-weight: var(--font-weight-semibold);
}

.dark-mode .stock-action {
    border-top-color: var(--dark-border-color);
}

/* Investments List */
.investments-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.investment-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast);
}

.dark-mode .investment-card {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.investment-card:hover {
    transform: translateY(-2px);
}

.investment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.investment-stock {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.stock-logo-small {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}

.dark-mode .stock-logo-small {
    background: var(--dark-bg-secondary);
}

.stock-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-logo-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    background: var(--primary-gradient);
    color: white;
}

.investment-stock h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.investment-stock p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

.investment-status {
    padding: 4px var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.investment-status.status-active {
    background: rgba(0, 200, 83, 0.1);
    color: green;
}

.investment-status.status-pending {
    background: rgba(255, 179, 0, 0.1);
    color: #ffb300;
}

.investment-status.status-completed {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.investment-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.value-item .label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.value-item .value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

.value-item .value.profit {
    color: var(--accent-color);
}

.value-item .value.loss {
    color: var(--accent-red);
}

.value-item .value small {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-normal);
}

.investment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.dark-mode .investment-footer {
    border-top-color: var(--dark-border-color);
}

.investment-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.empty-state i {
    font-size: 64px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.empty-state h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    animation: slideUp 0.3s ease;
}

.dark-mode .modal-content {
    background: var(--dark-bg-primary);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .modal-header {
    border-bottom-color: var(--dark-border-color);
}

.modal-header h2 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.close-modal {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-xl);
}

.dark-mode .close-modal {
    background: var(--dark-bg-secondary);
}

.modal-body {
    padding: var(--spacing-xl);
}

.stock-modal-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stock-logo-large {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
}

.dark-mode .stock-logo-large {
    background: var(--dark-bg-secondary);
}

.stock-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-logo-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    background: var(--primary-gradient);
    color: white;
}

.stock-modal-info h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.current-price {
    font-size: var(--font-size-base);
    color: var(--text-tertiary);
    margin: 0;
}

.stock-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xl);
}

.investment-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    font-weight: var(--font-weight-bold);
    color: var(--text-tertiary);
}

.input-with-icon .form-control {
    padding-left: var(--spacing-3xl);
}

.form-hint {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.error-message {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--accent-red);
}

.investment-summary {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.dark-mode .investment-summary {
    background: var(--dark-bg-secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.summary-row.total {
    /* border-top: 2px solid var(--border-color); */
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-md);
}

.dark-mode .summary-row.total {
    border-top-color: var(--dark-border-color);
}

.modal-footer {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.dark-mode .modal-footer {
    border-top-color: var(--dark-border-color);
}

.btn-cancel {
    flex: 1;
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.dark-mode .btn-cancel {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

.btn-primary {
    flex: 1;
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    border: none;
    background: var(--primary-gradient);
    color: white;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.btn-secondary {
    flex: 1;
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.dark-mode .btn-secondary {
    /* background: var(--dark-bg-secondary); */
    border-color: var(--dark-border-color);
    /* color: var(--dark-text-primary); */
}

.btn-accent {
    flex: 1;
    padding: var(--spacing-base);
    border-radius: var(--radius-md);
    border: none;
    background: var(--accent-color);
    color: white;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

/* Investment Detail Screen */
.detail-stock-card {
    background: var(--bg-primary);
    margin: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.dark-mode .detail-stock-card {
    background: var(--dark-bg-primary);
}

.stock-header-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stock-title {
    flex: 1;
}

.stock-title h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.stock-title p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

.investment-status-badge {
    padding: 6px var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.investment-status-badge.status-active {
    background: var(--accent-color);
    color: white;
}

.investment-status-badge.status-pending {
    background: #ffb300;
    color: white;
}

.investment-status-badge.status-completed {
    background: var(--primary-color);
    color: white;
}

.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.value-card {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.dark-mode .value-card {
    background: var(--dark-bg-secondary);
}

.value-card.highlight {
    background: var(--primary-gradient);
    color: white;
}

.value-label {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.value-amount {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.value-meta {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.maturity-info,
.roi-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
}

.dark-mode .maturity-info,
.dark-mode .roi-info {
    background: var(--dark-bg-secondary);
}

.maturity-info i,
.roi-info i {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.maturity-info strong,
.roi-info strong {
    display: block;
    margin-bottom: 4px;
}

.maturity-info p,
.roi-info p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

/* Detail Tabs */
.detail-tabs {
    display: flex;
    padding: 0 var(--spacing-xl);
    gap: var(--spacing-md);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .detail-tabs {
    background: var(--dark-bg-primary);
    border-bottom-color: var(--dark-border-color);
}

.detail-tab {
    flex: 1;
    padding: var(--spacing-lg) 0;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
}

.detail-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Detail Content */
.detail-content {
    padding: var(--spacing-xl);
}

.overview-section,
.transactions-section,
.profits-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.dark-mode .info-card {
    background: var(--dark-bg-primary);
}

.info-card h3 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .info-row {
    border-bottom-color: var(--dark-border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--text-tertiary);
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.metric-row:last-child {
    margin-bottom: 0;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.metric-value {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.transaction-detail-item {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.dark-mode .transaction-detail-item {
    background: var(--dark-bg-primary);
}

.transaction-icon-wrapper .transaction-icon {
    width: 48px;
    height: 48px;
}

.transaction-info {
    flex: 1;
}

.transaction-info h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.transaction-info p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0 0 var(--spacing-sm);
}

.transaction-date {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.transaction-amount-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.amount-value {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
}

.ref-number {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.profit-item {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.dark-mode .profit-item {
    background: var(--dark-bg-primary);
}

.profit-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.profit-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.profit-info {
    flex: 1;
}

.profit-info h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.profit-info p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin: 0;
}

.profit-status-badge {
    padding: 4px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.profit-status-badge.status-paid {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-color);
}

.profit-status-badge.status-pending {
    background: rgba(255, 179, 0, 0.1);
    color: #ffb300;
}

.profit-details {
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-md) 0;
}

.profit-amount,
.profit-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profit-amount .label,
.profit-date .label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.profit-amount .value {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
}

.profit-date .value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
}

.profit-ref {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dark-mode .profit-ref {
    border-top-color: var(--dark-border-color);
}

.empty-state-small {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.empty-state-small i {
    font-size: 48px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
}

.empty-state-small p {
    color: var(--text-tertiary);
    margin: 0;
}

.home-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, var(--opacity-overlay));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
}

.dark-mode .empty-state-small p {
    color: var(--dark-text-tertiary);
}
.bottom-sheet-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bottom-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-out;
}

.dark-mode .bottom-sheet {
    background: #1a1a1a;
}

.bottom-sheet-full {
    width: 100%;
}

.bottom-sheet-contained {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-sheet-handle {
    padding: 12px 0 8px;
    display: flex;
    justify-content: center;
    cursor: grab;
}

.bottom-sheet-handle:active {
    cursor: grabbing;
}

.bottom-sheet-handle-bar {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
}

.dark-mode .bottom-sheet-handle-bar {
    background: #4b5563;
}

.bottom-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .bottom-sheet-header {
    border-bottom-color: #374151;
}

.bottom-sheet-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.dark-mode .bottom-sheet-title {
    color: #f9fafb;
}

.bottom-sheet-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.bottom-sheet-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dark-mode .bottom-sheet-close:hover {
    background: #374151;
    color: #f9fafb;
}

.bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Transitions */
.backdrop-enter {
    transition: opacity 0.3s ease-out;
}

.backdrop-enter-start {
    opacity: 0;
}

.backdrop-enter-end {
    opacity: 1;
}

.backdrop-leave {
    transition: opacity 0.2s ease-in;
}

.backdrop-leave-start {
    opacity: 1;
}

.backdrop-leave-end {
    opacity: 0;
}

.sheet-enter {
    transition: transform 0.3s ease-out;
}

.sheet-enter-start {
    transform: translateY(100%);
}

.sheet-enter-end {
    transform: translateY(0);
}

.sheet-leave {
    transition: transform 0.2s ease-in;
}

.sheet-leave-start {
    transform: translateY(0);
}

.sheet-leave-end {
    transform: translateY(100%);
}

/* Scrollbar styling */
.bottom-sheet-body::-webkit-scrollbar {
    width: 6px;
}

.bottom-sheet-body::-webkit-scrollbar-track {
    background: transparent;
}

.bottom-sheet-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.dark-mode .bottom-sheet-body::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.bottom-sheet-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/* Payments/Transactions Screen Styles */
.payments-screen {
    padding: 0;
    padding-bottom: 80px;
}

.payments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dark-mode .payments-header {
    background: var(--dark-bg-primary);
    border-bottom-color: var(--dark-border-color);
}

.payments-header h1 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    flex: 1;
    text-align: center;
    margin: 0;
}

.filter-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.dark-mode .filter-btn {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

/* Transaction Stats */
.transaction-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: var(--bg-primary);
}

.dark-mode .transaction-stats {
    background: var(--dark-bg-primary);
}

.stat-card {
    /* background: var(--bg-secondary); */
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.dark-mode .stat-card {
    background: var(--dark-bg-secondary);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: white;
}

.stat-icon.credit {
    background: linear-gradient(135deg, #00c853, #00e676);
}

.stat-icon.debit {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.stat-icon.total {
    background: var(--primary-gradient);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    font-weight: var(--font-weight-medium);
}

.stat-value {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.stat-value.credit {
    color: var(--accent-color);
}

.stat-value.debit {
    color: var(--accent-red);
}

/* Search Bar */
.search-bar {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--bg-primary);
}

.clear-filter {
    padding: var(--spacing-lg) var(--spacing-xl);
}

.dark-mode .search-bar {
    background: var(--dark-bg-primary);
}

.search-bar i {
    position: absolute;
    left: calc(var(--spacing-xl) + var(--spacing-lg));
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: var(--font-size-md);
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-left: var(--spacing-4xl);
    padding-right: var(--spacing-4xl);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
}

.dark-mode .search-input {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.clear-search {
    position: absolute;
    right: calc(var(--spacing-xl) + var(--spacing-sm));
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-tertiary);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.clear-search:hover {
    background: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Filters Panel */

.filter-group {
    margin-bottom: var(--spacing-xl);
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.dark-mode .filter-label {
    color: var(--dark-text-primary);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.filter-chip {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dark-mode .filter-chip {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-secondary);
}

.filter-chip:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-chip.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

.clear-filters-btn {
    width: 100%;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-red);
    background: rgba(255, 75, 43, 0.1);
    color: var(--accent-red);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    transition: all var(--transition-fast);
}

.clear-filters-btn:hover {
    background: var(--accent-red);
    color: white;
}

/* Active Filters Badge */
.active-filters-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    margin: var(--spacing-md) var(--spacing-xl);
    /* background: rgba(102, 126, 234, 0.1); */
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-xl);
    /* color: var(--primary-color); */
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.badge-clear {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
    font-size: var(--font-size-md);
}

.badge-clear:hover {
    color: var(--accent-red);
}

/* Transactions List */
.transactions-list-container {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.transaction-list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.dark-mode .transaction-list-item {
    background: var(--dark-bg-primary);
}

.transaction-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.transaction-list-item .transaction-details {
    flex: 1;
    min-width: 0;
}

.transaction-list-item .transaction-details h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaction-list-item .transaction-details p {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.transaction-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.transaction-type-badge.type-credit {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-color);
}

.transaction-type-badge.type-debit {
    background: rgba(255, 75, 43, 0.1);
    color: var(--accent-red);
}

.transaction-type-badge.type-transfer {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.transaction-type-badge.type-withdrawal {
    background: rgba(255, 75, 43, 0.1);
    color: var(--accent-red);
}

.transaction-type-badge.type-deposit {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-color);
}

.transaction-date {
    color: var(--text-tertiary);
    font-size: var(--font-size-xs);
}

.transaction-ref {
    margin-top: 4px;
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.transaction-amount-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.transaction-list-item .transaction-amount {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.transaction-status {
    font-size: var(--font-size-xs);
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    text-transform: capitalize;
}

.transaction-status.status-completed {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-color);
}

.transaction-status.status-pending {
    background: rgba(255, 179, 0, 0.1);
    color: #ffb300;
}

.transaction-status.status-failed {
    background: rgba(255, 75, 43, 0.1);
    color: var(--accent-red);
}

/* Load More Notice */
.load-more-notice {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* Responsive adjustments */
@media (max-width: 430px) {
    .transaction-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .stat-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .filter-chips {
        max-width: 100%;
        overflow-x: auto;
        /* flex-wrap: nowrap; */
        -webkit-overflow-scrolling: touch;
    }

    .filter-chip {
        flex-shrink: 0;
    }
}

/* Loading skeleton for transactions */
.transaction-skeleton {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.dark-mode .transaction-skeleton {
    background: var(--dark-bg-primary);
}

.transaction-skeleton .skeleton-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}

.transaction-skeleton .skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.transaction-skeleton .skeleton-line {
    height: 12px;
    border-radius: var(--radius-sm);
}

.transaction-skeleton .skeleton-line.short {
    width: 60%;
}

/* More screen List */
.menu-item-container {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding-bottom: 120px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dark-mode .menu-item {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
    box-shadow: none;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-left i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.menu-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.dark-mode .menu-item span {
    color: var(--dark-text-primary);
}

.menu-arrow {
    font-size: 1.1rem;
    color: #999;
}

/* Loan Screen Styles */
.loan-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
}

.dark-mode .loan-screen {
    background: #0f0f0f;
}

/* Tabs */
.loan-tabs {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--bg-primary);
}

.dark-mode .loan-tabs {
    background: var(--dark-bg-primary);
    border-bottom-color: transparent;
}

.loan-tabs .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .loan-tabs .tab-btn {
    color: var(--dark-text-primary);
    border-color: #374151;
}

.loan-tabs .tab-btn.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

/* Content */
.loan-content {
    flex: 1;
    padding: 16px 20px 100px;
    overflow-y: auto;
}

/* Loan Types List */
.loan-types-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loan-type-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.dark-mode .loan-type-card {
    background: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loan-type-card:active {
    transform: scale(0.98);
}

.loan-type-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.loan-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.loan-type-info {
    flex: 1;
}

.loan-type-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .loan-type-info h3 {
    color: #f9fafb;
}

.loan-type-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.dark-mode .loan-type-info p {
    color: #9ca3af;
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #fbbf24;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.loan-type-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item .label {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .detail-item .label {
    color: #9ca3af;
}

.detail-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .detail-item .value {
    color: #f9fafb;
}

.loan-type-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: var(--primary-color);
    font-weight: 600;
}

.dark-mode .loan-type-action {
    border-top-color: #374151;
}

/* My Loans List */
.my-loans-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-loan-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .my-loan-card {
    background: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.loan-type-badge {
    padding: 6px 12px;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
}

.dark-mode .loan-type-badge {
    background: #312e81;
    color: #c4b5fd;
}

.loan-status {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: capitalize;
}

.loan-status.status-pending {
    background: #fef3c7;
    color: #f59e0b;
}

.dark-mode .loan-status.status-pending {
    background: #78350f;
    color: #fbbf24;
}

.loan-status.status-approved {
    background: #dbeafe;
    color: #3b82f6;
}

.dark-mode .loan-status.status-approved {
    background: #1e3a8a;
    color: #93c5fd;
}

.loan-status.status-active {
    background: #d1fae5;
    color: #10b981;
}

.dark-mode .loan-status.status-active {
    background: #064e3b;
    color: #6ee7b7;
}

.loan-status.status-completed {
    background: #e0e7ff;
    color: #6366f1;
}

.dark-mode .loan-status.status-completed {
    background: #312e81;
    color: #a5b4fc;
}

.loan-status.status-rejected {
    background: #fee2e2;
    color: #ef4444;
}

.dark-mode .loan-status.status-rejected {
    background: #7f1d1d;
    color: #fca5a5;
}

.loan-amount-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .loan-amount-section {
    border-bottom-color: #374151;
}

.loan-amount .label,
.outstanding-balance .label {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.dark-mode .loan-amount .label,
.dark-mode .outstanding-balance .label {
    color: #9ca3af;
}

.loan-amount h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .loan-amount h3 {
    color: #f9fafb;
}

.outstanding-balance h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
}

.dark-mode .outstanding-balance h4 {
    color: #f87171;
}

.loan-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
}

.dark-mode .detail-box {
    background: #111827;
}

.detail-box i {
    color: var(--primary-color);
    font-size: 18px;
}

.detail-box .detail-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
}

.dark-mode .detail-box .detail-label {
    color: #9ca3af;
}

.detail-box .detail-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .detail-box .detail-value {
    color: #f9fafb;
}

.loan-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.dark-mode .loan-meta {
    background: #111827;
    color: #9ca3af;
}

.loan-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.loan-due-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    color: #f59e0b;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.dark-mode .loan-due-date {
    background: #78350f;
    color: #fbbf24;
}

/* Application Form */
.loan-application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.selected-loan-info {
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border-radius: 12px;
    color: #ffffff;
}

.selected-loan-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.selected-loan-info p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.loan-calculator-summary {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.dark-mode .loan-calculator-summary {
    background: #111827;
}

.loan-calculator-summary h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.dark-mode .loan-calculator-summary h4 {
    color: #f9fafb;
}

.loan-calculator-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.loan-calculator-summary .summary-item span {
    font-size: 14px;
    color: #6b7280;
}

.dark-mode .loan-calculator-summary .summary-item span {
    color: #9ca3af;
}

.loan-calculator-summary .summary-item strong {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.dark-mode .loan-calculator-summary .summary-item strong {
    color: #f9fafb;
}

.loan-calculator-summary .summary-total {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
}

.dark-mode .loan-calculator-summary .summary-total {
    border-top-color: #374151;
}

.loan-calculator-summary .summary-total span,
.loan-calculator-summary .summary-total strong {
    font-size: 16px;
    font-weight: 700;
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    resize: vertical;
    transition: all 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dark-mode .form-textarea {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

.btn-cancel {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .btn-cancel {
    color: #9ca3af;
    background: #374151;
}

.btn-cancel:active {
    transform: scale(0.98);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.dark-mode .empty-state i {
    color: #4b5563;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .empty-state h3 {
    color: #f9fafb;
}

.empty-state p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.dark-mode .empty-state p {
    color: #9ca3af;
}

.empty-state .btn-primary {
    margin-top: 8px;
}

/* Loan Detail Screen Styles */
.loan-detail-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .loan-detail-screen {
    background: #0f0f0f;
}

/* Header */
.loan-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .loan-detail-header {
    background: #1a1a1a;
    border-bottom-color: #2d2d2d;
}

.loan-detail-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .loan-detail-header h1 {
    color: #f9fafb;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    margin: 16px 20px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

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

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .alert-success {
    background: #064e3b;
    color: #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .alert-error {
    background: #7f1d1d;
    color: #fca5a5;
}

/* Loan Overview Card */
.loan-overview-card {
    margin: 16px 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .loan-overview-card {
    background: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loan-amount-display {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.dark-mode .loan-amount-display {
    border-bottom-color: #374151;
}

.loan-amount-display .label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.dark-mode .loan-amount-display .label {
    color: #9ca3af;
}

.loan-amount-display h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .loan-amount-display h2 {
    color: #f9fafb;
}

/* Outstanding Section */
.outstanding-section {
    padding: 20px;
    background: #fef3c7;
    border-radius: 12px;
    margin-bottom: 20px;
}

.dark-mode .outstanding-section {
    background: #78350f;
}

.outstanding-amount {
    text-align: center;
    margin-bottom: 16px;
}

.outstanding-amount .label {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 4px;
}

.dark-mode .outstanding-amount .label {
    color: #fbbf24;
}

.outstanding-amount h3 {
    font-size: 28px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.dark-mode .outstanding-amount h3 {
    color: #fbbf24;
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #fde68a;
    border-radius: 4px;
    overflow: hidden;
}

.dark-mode .progress-bar {
    background: #92400e;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: #92400e;
    text-align: center;
}

.dark-mode .progress-text {
    color: #fbbf24;
}

/* Add to loan screen CSS */
.my-loan-card {
    text-decoration: none;
    display: block;
    transition: transform 0.2s;
}

.my-loan-card:active {
    transform: scale(0.98);
}

/* Loan Info Grid */
.loan-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
}

.dark-mode .info-item {
    background: #111827;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
}

.dark-mode .info-label {
    color: #9ca3af;
}

.info-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .info-value {
    color: #f9fafb;
}

/* Loan Reference */
.loan-reference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}

.dark-mode .loan-reference {
    background: #111827;
    color: #9ca3af;
}

.loan-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Pay Full Button */
.btn-pay-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pay-full:active {
    transform: scale(0.98);
}

.btn-pay-full:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Repayment Statistics */
.repayment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .stat-box {
    background: #1a1a1a;
}

.stat-icon {
    font-size: 24px;
}

.stat-icon.success {
    color: #10b981;
}

.stat-icon.pending {
    color: #f59e0b;
}

.stat-icon.danger {
    color: #ef4444;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.dark-mode .stat-value {
    color: #f9fafb;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .stat-label {
    color: #9ca3af;
}

/* Repayment Section */
.repayment-section {
    padding: 0 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.dark-mode .section-title {
    color: #f9fafb;
}

/* Repayment List */
.repayment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repayment-card {
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d1d5db;
}

.dark-mode .repayment-card {
    background: #1a1a1a;
    border-left-color: #4b5563;
}

.repayment-card.paid {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.dark-mode .repayment-card.paid {
    background: #064e3b;
}

.repayment-card.overdue {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.dark-mode .repayment-card.overdue {
    background: #7f1d1d;
}

.repayment-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.repayment-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.repayment-card.paid .repayment-status-icon {
    background: #d1fae5;
    color: #059669;
}

.dark-mode .repayment-card.paid .repayment-status-icon {
    background: #065f46;
    color: #6ee7b7;
}

.repayment-card.overdue .repayment-status-icon {
    background: #fee2e2;
    color: #dc2626;
}

.dark-mode .repayment-card.overdue .repayment-status-icon {
    background: #991b1b;
    color: #fca5a5;
}

.repayment-card:not(.paid):not(.overdue) .repayment-status-icon {
    background: #fef3c7;
    color: #d97706;
}

.dark-mode .repayment-card:not(.paid):not(.overdue) .repayment-status-icon {
    background: #78350f;
    color: #fbbf24;
}

.repayment-info {
    flex: 1;
}

.repayment-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .repayment-info h4 {
    color: #f9fafb;
}

.repayment-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .repayment-info p {
    color: #9ca3af;
}

.overdue-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    margin-left: 6px;
}

.dark-mode .overdue-badge {
    background: #991b1b;
    color: #fca5a5;
}

.repayment-amount {
    text-align: right;
}

.repayment-amount .amount {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.dark-mode .repayment-amount .amount {
    color: #f9fafb;
}

/* Repayment Breakdown */
.repayment-breakdown {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.dark-mode .repayment-breakdown {
    background: #111827;
}

.breakdown-item {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.breakdown-item span {
    color: #6b7280;
}

.dark-mode .breakdown-item span {
    color: #9ca3af;
}

.breakdown-item strong {
    color: #111827;
    font-weight: 600;
}

.dark-mode .breakdown-item strong {
    color: #f9fafb;
}

/* Pay Repayment Button */
.btn-pay-repayment {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s;
}

.btn-pay-repayment:active {
    transform: scale(0.98);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .payment-method {
    background: #111827;
    color: #9ca3af;
}

/* Payment Form */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-summary-card {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.dark-mode .payment-summary-card {
    background: #111827;
}

.payment-summary-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.dark-mode .payment-summary-card h4 {
    color: #f9fafb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row span {
    color: #6b7280;
}

.dark-mode .summary-row span {
    color: #9ca3af;
}

.summary-row strong {
    color: #111827;
    font-weight: 600;
}

.dark-mode .summary-row strong {
    color: #f9fafb;
}

.summary-row.total {
    padding-top: 12px;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
}

.dark-mode .summary-row.total {
    border-top-color: #374151;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.dark-mode .summary-divider {
    background: #374151;
}

/* Empty State */
.empty-state-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-state-small i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.dark-mode .empty-state-small i {
    color: #4b5563;
}

.empty-state-small p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .empty-state-small p {
    color: #9ca3af;
}
/* Deposit Screen Styles */
.deposit-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .deposit-screen {
    background: #0f0f0f;
}

/* Header */
.deposit-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .deposit-header {
    background: #1a1a1a;
    border-bottom-color: #2d2d2d;
}

.deposit-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .deposit-header h1 {
    color: #f9fafb;
}

.terms-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 12px;
}

/* Instructions Banner */
.instructions-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    margin: 16px 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 12px;
}

.dark-mode .instructions-banner,
.dark-mode .terms-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
}

.instructions-banner i,
.terms-banner i {
    font-size: 24px;
    color: #3b82f6;
    flex-shrink: 0;
}

.dark-mode .instructions-banner i,
.dark-mode .terms-banner i {
    color: #93c5fd;
}

.instructions-banner h4,
.terms-banner h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 4px 0;
}

.dark-mode .instructions-banner h4,
.dark-mode .terms-banner h4 {
    color: #dbeafe;
}

.instructions-banner p,
.terms-banner p {
    font-size: 14px;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

.dark-mode .instructions-banner p,
.dark-mode .terms-banner p {
    color: #93c5fd;
}

/* Deposit Section */
.deposit-section {
    padding: 0 20px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.dark-mode .section-title {
    color: #f9fafb;
}

/* Accounts Grid */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.account-card {
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .account-card {
    background: #1a1a1a;
    border-color: #374151;
}

.account-card:active {
    transform: scale(0.98);
}

.account-card.selected {
    border-color: var(--primary-color);
    background: #f5f3ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dark-mode .account-card.selected {
    border-color: var(--primary-color);
    background: #312e81;
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.account-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.account-info {
    flex: 1;
}

.account-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .account-info h4 {
    color: #f9fafb;
}

.account-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .account-info p {
    color: #9ca3af;
}

.check-icon {
    font-size: 24px;
    color: #10b981;
}

.account-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.dark-mode .account-balance {
    background: #111827;
}

.balance-label {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .balance-label {
    color: #9ca3af;
}

.balance-amount {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.dark-mode .balance-amount,
.dark-mode .balance {
    /* color: #f9fafb; */
    color: white;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.dark-mode .method-card {
    background: #1a1a1a;
    border-color: #374151;
}

.method-card:active {
    transform: scale(0.98);
}

.method-card.active {
    border-color: var(--primary-color);
    background: #f5f3ff;
}

.dark-mode .method-card.active {
    border-color: var(--primary-color);
    background: #312e81;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
}

.method-icon.crypto {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.method-icon.bank {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.method-info {
    flex: 1;
}

.method-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .method-info h4 {
    color: #f9fafb;
}

.method-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .method-info p {
    color: #9ca3af;
}

.method-card i.bi-chevron-right {
    color: #9ca3af;
}

/* Payment Details Card */
.payment-details-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .payment-details-card {
    background: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.details-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .details-header {
    border-bottom-color: #374151;
}

.details-header i {
    font-size: 28px;
    color: var(--primary-color);
}

.details-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .details-header h3 {
    color: #f9fafb;
}

/* Detail Item */
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.dark-mode .detail-item {
    border-bottom-color: #1f2937;
}

.detail-item:last-of-type {
    border-bottom: none;
}

.detail-item.highlight {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border-bottom: none;
    margin: 8px 0;
}

.dark-mode .detail-item.highlight {
    background: #111827;
}

.detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .detail-label {
    color: #9ca3af;
}

.detail-value-with-copy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    word-break: break-all;
}

.dark-mode .detail-value {
    color: #f9fafb;
}

.detail-value.mono {
    font-family: "Courier New", monospace;
    font-size: 14px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.dark-mode .detail-value.mono {
    background: #0f0f0f;
    border-color: #374151;
}

.copy-btn {
    padding: 8px 12px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

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

.copy-btn:hover {
    background: #5568d3;
}

/* Warning & Info Boxes */
.warning-box,
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
}

.dark-mode .warning-box {
    background: #78350f;
    border-color: #d97706;
}

.warning-box i {
    font-size: 20px;
    color: #d97706;
    flex-shrink: 0;
}

.dark-mode .warning-box i {
    color: #fbbf24;
}

.info-box {
    background: #dbeafe;
    border: 1px solid #3b82f6;
}

.dark-mode .info-box {
    background: #1e3a8a;
    border-color: #2563eb;
}

.info-box i {
    font-size: 20px;
    color: #2563eb;
    flex-shrink: 0;
}

.dark-mode .info-box i {
    color: #93c5fd;
}

.warning-box strong,
.info-box strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.warning-box strong {
    color: #92400e;
}

.dark-mode .warning-box strong {
    color: #fbbf24;
}

.info-box strong {
    color: #1e40af;
}

.dark-mode .info-box strong {
    color: #dbeafe;
}

.warning-box p,
.info-box p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.warning-box p {
    color: #92400e;
}

.dark-mode .warning-box p {
    color: #fde68a;
}

.info-box p {
    color: #1e40af;
}

.dark-mode .info-box p {
    color: #93c5fd;
}

/* Next Steps Card */
.next-steps-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .next-steps-card {
    background: #1a1a1a;
}

.next-steps-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.dark-mode .next-steps-card h4 {
    color: #f9fafb;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.steps-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
}

.dark-mode .steps-list li {
    background: #111827;
}

.steps-list i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.steps-list span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.dark-mode .steps-list span {
    color: #d1d5db;
}

/* Empty State Small */
.empty-state-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-state-small i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.dark-mode .empty-state-small i {
    color: #4b5563;
}

.empty-state-small p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .empty-state-small p {
    color: #9ca3af;
}

/* Submit Deposit Button */
.btn-submit-deposit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-deposit:active {
    transform: scale(0.98);
}

.btn-submit-deposit:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Submit Deposit Form */
.submit-deposit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group-text {
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    background: var(--color-gray-50);
}

.dark-mode .input-group-text {
    background: var(--dark-bg-tertiary);
    border-color: var(--dark-bg-tertiary);
    color: var(--dark-text-secondary);
}
/* Cards Screen Styles */
.cards-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .cards-screen {
    background: #0f0f0f;
}

.add-card-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.add-card-btn:active {
    transform: scale(0.95);
}

/* Cards Container */
.cards-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card Item */
.card-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Credit Card Visual */
.credit-card {
    position: relative;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.credit-card.visa {
    background: linear-gradient(135deg, #1a1f71 0%, #2a3eb1 100%);
}

.credit-card.mastercard {
    background: linear-gradient(135deg, #eb001b 0%, #f79e1b 100%);
}

.credit-card.amex {
    background: linear-gradient(135deg, #006fcf 0%, #0097d6 100%);
}

.credit-card.blocked {
    filter: grayscale(100%);
    opacity: 0.7;
}

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

.card-brand-name {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-type-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #333;
    margin: 12px 0;
}

.card-number {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: "Courier New", monospace;
    margin: 16px 0;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.card-holder,
.card-expiry {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 14px;
    font-weight: 600;
}

.card-blocked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-blocked-overlay i {
    font-size: 48px;
}

.card-blocked-overlay span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Card Details Section */
.card-details-section {
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dark-mode .card-details-section {
    background: #1a1a1a;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.dark-mode .detail-row {
    border-bottom-color: #1f2937;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #6b7280;
}

.dark-mode .detail-label {
    color: #9ca3af;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .detail-value {
    color: #f9fafb;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .status-badge.success {
    background: #064e3b;
    color: #6ee7b7;
}

.status-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .status-badge.danger {
    background: #7f1d1d;
    color: #fca5a5;
}

/* Card Actions */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.act-btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.act-btn.success {
    background: #10b981;
    color: #ffffff;
}

.act-btn.danger {
    background: #ef4444;
    color: #ffffff;
}

.act-btn:active {
    transform: scale(0.98);
}

/* Form Styles */
.add-card-form,
.delete-card-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.card-info-box {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 14px;
}

.dark-mode .card-info-box {
    background: #111827;
}

.card-info-box p {
    margin: 8px 0;
    color: #374151;
}

.dark-mode .card-info-box p {
    color: #d1d5db;
}

.card-info-box strong {
    color: #111827;
}

.dark-mode .card-info-box strong {
    color: #f9fafb;
}

.btn-danger {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #ef4444;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-danger:active {
    transform: scale(0.98);
}

.btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Profile Screen Styles */
.profile-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .profile-screen {
    background: #0f0f0f;
}

/* Profile Container */
.profile-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Avatar Section */
.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    background: #ffffff;
    border-radius: 16px;
    margin: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .profile-avatar-section {
    background: #1a1a1a;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.avatar-text {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.profile-avatar-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .profile-avatar-section h2 {
    color: #f9fafb;
}

.profile-avatar-section p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .profile-avatar-section p {
    color: #9ca3af;
}

/* Profile Section */
.profile-section {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dark-mode .profile-section {
    background: #1a1a1a;
}

.profile-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.dark-mode .profile-section .section-title {
    color: #f9fafb;
    border-bottom-color: #374151;
}

/* Form Field */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    transition: all 0.2s;
}

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

.form-input:disabled,
.form-input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.dark-mode .form-input {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

.dark-mode .form-input:focus {
    border-color: var(--primary-color);
}

.dark-mode .form-input:disabled,
.dark-mode .form-input[readonly] {
    background: #111827;
    color: #6b7280;
}

.form-hint {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .form-hint {
    color: #9ca3af;
}

.form-error {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #dc2626;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Profile Actions */
.profile-actions {
    padding: 0 0 20px 0;
}

.btn-save-profile {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-save-profile:active {
    transform: scale(0.98);
}

.btn-save-profile:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-save-profile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* KYC Screen Styles */
.kyc-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .kyc-screen {
    background: #0f0f0f;
}

.kyc-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* KYC Status Card */
.kyc-status-card {
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-mode .kyc-status-card {
    background: #1a1a1a;
}

.status-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.status-icon-container.status-verified {
    background: #d1fae5;
    color: #059669;
}

.dark-mode .status-icon-container.status-verified {
    background: #064e3b;
    color: #6ee7b7;
}

.status-icon-container.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.dark-mode .status-icon-container.status-rejected {
    background: #7f1d1d;
    color: #fca5a5;
}

.status-icon-container.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.dark-mode .status-icon-container.status-pending {
    background: #78350f;
    color: #fbbf24;
}

.status-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.dark-mode .status-title {
    color: #f9fafb;
}

.status-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.dark-mode .status-description {
    color: #9ca3af;
}

.status-badge-large {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge-large.status-verified {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .status-badge-large.status-verified {
    background: #064e3b;
    color: #6ee7b7;
}

.status-badge-large.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .status-badge-large.status-rejected {
    background: #7f1d1d;
    color: #fca5a5;
}

.status-badge-large.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.dark-mode .status-badge-large.status-pending {
    background: #78350f;
    color: #fbbf24;
}

/* KYC Info Card */
.kyc-info-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .kyc-info-card {
    background: #1a1a1a;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .info-label {
    color: #9ca3af;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .info-value {
    color: #f9fafb;
}

/* Documents Section */
.documents-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-card {
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-mode .document-card {
    background: #1a1a1a;
}

.document-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.dark-mode .document-icon {
    background: #111827;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    word-break: break-word;
}

.dark-mode .document-info h4 {
    color: #f9fafb;
}

.document-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .document-info p {
    color: #9ca3af;
}

.document-actions {
    display: flex;
    gap: 8px;
}

.doc-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.doc-action-btn.view {
    background: #dbeafe;
    color: #2563eb;
}

.dark-mode .doc-action-btn.view {
    background: #1e3a8a;
    color: #93c5fd;
}

.doc-action-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.dark-mode .doc-action-btn.delete {
    background: #7f1d1d;
    color: #fca5a5;
}

.doc-action-btn:active {
    transform: scale(0.95);
}

/* KYC Actions */
.kyc-actions {
    padding: 0;
}

.btn-submit-kyc {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-kyc:active {
    transform: scale(0.98);
}

.btn-submit-kyc:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Requirements Card */
.kyc-requirements-card {
    padding: 20px;
    background: #dbeafe;
    border-radius: 16px;
}

.dark-mode .kyc-requirements-card {
    background: #1e3a8a;
}

.kyc-requirements-card .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 16px 0;
}

.dark-mode .kyc-requirements-card .section-title {
    color: #dbeafe;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
}

.dark-mode .requirements-list li {
    color: #93c5fd;
}

.requirements-list i {
    font-size: 18px;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.dark-mode .requirements-list i {
    color: #60a5fa;
}

/* Upload Preview */
.upload-preview {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.dark-mode .upload-preview {
    background: #111827;
}

.upload-preview h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .upload-preview h4 {
    color: #f9fafb;
}

.upload-preview ul {
    margin: 0;
    padding-left: 20px;
}

.upload-preview li {
    font-size: 13px;
    color: #6b7280;
    margin: 4px 0;
}

.dark-mode .upload-preview li {
    color: #9ca3af;
}

/* Beneficiaries Screen Styles */
.beneficiaries-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .beneficiaries-screen {
    background: #0f0f0f;
}

.beneficiaries-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Beneficiary Card */
.beneficiary-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dark-mode .beneficiary-card {
    background: #1a1a1a;
}

.beneficiary-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.beneficiary-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
}

.beneficiary-info {
    flex: 1;
}

.beneficiary-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.dark-mode .beneficiary-info h4 {
    color: #f9fafb;
}

.beneficiary-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .beneficiary-info p {
    color: #9ca3af;
}

.favorite-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: #f3f4f6;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.dark-mode .favorite-btn {
    background: #111827;
}

.favorite-btn:active {
    transform: scale(0.9);
}

.beneficiary-details {
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dark-mode .beneficiary-details {
    background: #111827;
}

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

.beneficiary-details .detail-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.dark-mode .beneficiary-details .detail-label {
    color: #9ca3af;
}

.beneficiary-details .detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .beneficiary-details .detail-value {
    color: #f9fafb;
}

.beneficiary-actions {
    display: flex;
    gap: 12px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.dark-mode .checkbox-label {
    color: #d1d5db;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}
/* FAQ & Support Screen Styles */
.faq-support-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .faq-support-screen {
    background: #0f0f0f;
}

/* Support Contact Card */
.support-contact-card {
    margin: 16px 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.support-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
}

.support-info {
    flex: 1;
}

.support-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.support-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-btn {
    padding: 10px 16px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.contact-btn:active {
    transform: scale(0.95);
}

/* Search & Filter Section */
.search-filter-section {
    padding: 0 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Category Chips */
.category-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.category-chip {
    padding: 8px 16px;
    background: #ffffff;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .category-chip {
    background: #1a1a1a;
    color: #9ca3af;
    border-color: #374151;
}

.category-chip.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.category-chip:active {
    transform: scale(0.95);
}

/* FAQs Container */
.faqs-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* FAQ Card */
.faq-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dark-mode .faq-card {
    background: #1a1a1a;
}

.faq-question {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.dark-mode .faq-question:hover {
    background: #111827;
}

.faq-question span {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
}

.dark-mode .faq-question span {
    color: #f9fafb;
}

.faq-question i {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    border-top: 1px solid #f3f4f6;
}

.dark-mode .faq-answer {
    border-top-color: #1f2937;
}

.answer-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

.dark-mode .answer-content {
    color: #9ca3af;
}

/* Help Section */
.help-section {
    padding: 0 20px;
    margin-bottom: 24px;
}

.help-card {
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-mode .help-card {
    background: #1a1a1a;
}

.help-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.help-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .help-card h3 {
    color: #f9fafb;
}

.help-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.dark-mode .help-card p {
    color: #9ca3af;
}

/* About Screen Styles */
.about-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .about-screen {
    background: #0f0f0f;
}

.about-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* App Logo Section */
.app-logo-section {
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-mode .app-logo-section {
    background: #1a1a1a;
}

.app-logo {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.app-logo-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .app-logo-section h2 {
    color: #f9fafb;
}

.version-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .version-text {
    color: #9ca3af;
}

/* About Card */
.about-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .about-card {
    background: #1a1a1a;
}

.about-card .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.dark-mode .about-card .section-title {
    color: #f9fafb;
}

.about-description {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

.dark-mode .about-description {
    color: #9ca3af;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-list .info-item i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-list .info-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-list .info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .info-list .info-label {
    color: #9ca3af;
}

.info-list .info-value {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.dark-mode .info-list .info-value {
    color: #f9fafb;
}

.info-list .info-value.link {
    color: var(--primary-color);
    text-decoration: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.dark-mode .feature-item {
    background: #111827;
}

.feature-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.feature-item span {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.dark-mode .feature-item span {
    color: #d1d5db;
}

/* System Info */
.system-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.system-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.dark-mode .system-item {
    border-bottom-color: #1f2937;
}

.system-item:last-child {
    border-bottom: none;
}

.system-item span {
    font-size: 14px;
    color: #6b7280;
}

.dark-mode .system-item span {
    color: #9ca3af;
}

.system-item strong {
    font-size: 14px;
    color: #111827;
}

.dark-mode .system-item strong {
    color: #f9fafb;
}

/* Legal Links */
.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.legal-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: #111827;
    transition: all 0.2s;
}

.dark-mode .legal-link {
    border-bottom-color: #1f2937;
    color: #f9fafb;
}

.legal-link:last-child {
    border-bottom: none;
}

.legal-link span {
    font-size: 14px;
    font-weight: 500;
}

.legal-link i {
    color: #9ca3af;
}

.legal-link:active {
    background: #f9fafb;
}

.dark-mode .legal-link:active {
    background: #111827;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f3f4f6;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.dark-mode .social-btn {
    background: #111827;
}

.social-btn:active {
    transform: scale(0.95);
}

/* Copyright */
.copyright-text {
    padding: 20px 0;
    text-align: center;
}

.copyright-text p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.dark-mode .copyright-text p {
    color: #6b7280;
}
/* Security Screen Styles */
.security-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .security-screen {
    background: #0f0f0f;
}

.security-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Security Section */
.security-section {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dark-mode .security-section {
    background: #1a1a1a;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.dark-mode .section-header {
    border-bottom-color: #374151;
}

.section-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.section-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .section-header h3 {
    color: #f9fafb;
}

.section-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

.dark-mode .section-description {
    color: #9ca3af;
}

/* Action Button */
.btn-action {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-action:active {
    transform: scale(0.98);
}

.btn-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-action.outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.dark-mode .btn-action.outline {
    color: #93c5fd;
    border-color: #93c5fd;
}

.btn-action.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* 2FA Status */
.twofa-status {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

.dark-mode .twofa-status {
    background: #111827;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-indicator.enabled {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .status-indicator.enabled {
    background: #064e3b;
    color: #6ee7b7;
}

.status-indicator.disabled {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .status-indicator.disabled {
    background: #7f1d1d;
    color: #fca5a5;
}

.status-indicator i {
    font-size: 16px;
}

/* Recovery Codes Section */
.recovery-codes-section {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dark-mode .recovery-codes-section {
    border-top-color: #374151;
}

.btn-recovery-toggle {
    width: 100%;
    padding: 12px 16px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.2s;
}

.dark-mode .btn-recovery-toggle {
    background: #111827;
    color: #d1d5db;
}

.btn-recovery-toggle:active {
    transform: scale(0.98);
}

.recovery-codes-box {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dark-mode .recovery-codes-box {
    background: #111827;
}

.recovery-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-size: 13px;
    margin: 0;
}

.dark-mode .recovery-warning {
    background: #78350f;
    color: #fbbf24;
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.recovery-code {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-align: center;
}

.dark-mode .recovery-code {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

.btn-regenerate {
    padding: 10px 16px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-regenerate:active {
    transform: scale(0.98);
}

/* PIN Setup Form */
.pin-setup-form,
.twofa-setup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 2FA Setup */
.twofa-instructions {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.dark-mode .twofa-instructions {
    background: #111827;
}

.twofa-instructions p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.dark-mode .twofa-instructions p {
    color: #9ca3af;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.dark-mode .qr-code-container {
    background: #ffffff;
}

.qr-code-container svg {
    max-width: 250px;
    height: auto;
}

.manual-setup {
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.dark-mode .manual-setup {
    background: #111827;
}

.manual-label {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.dark-mode .manual-label {
    color: #9ca3af;
}

.setup-key {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    word-break: break-all;
}

.dark-mode .setup-key {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #dbeafe;
    border-radius: 10px;
}

.dark-mode .info-box {
    background: #1e3a8a;
}

.info-box i {
    font-size: 20px;
    color: #2563eb;
    flex-shrink: 0;
}

.dark-mode .info-box i {
    color: #93c5fd;
}

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

.dark-mode .info-box p {
    color: #93c5fd;
}

/* Transfer Screen Styles */
.transfer-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .transfer-screen {
    background: #0f0f0f;
}

/* Progress Steps */
.transfer-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .transfer-progress {
    background: #1a1a1a;
    border-bottom-color: #374151;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}

.dark-mode .step-number {
    background: #374151;
    color: #9ca3af;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: #ffffff;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: #ffffff;
}

.progress-step span {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .progress-step span {
    color: #9ca3af;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
    transition: all 0.3s;
}

.dark-mode .progress-line {
    background: #374151;
}

.progress-line.active {
    background: var(--primary-color);
}

/* Transfer Container */
.transfer-container {
    padding: 20px;
}

.transfer-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Transfer Type Toggle */
.transfer-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
}

.dark-mode .transfer-type-toggle {
    background: #1a1a1a;
}

.type-btn {
    padding: 12px;
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .type-btn {
    background: #111827;
    color: #9ca3af;
}

.type-btn.active {
    background: #ede9fe;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .type-btn.active {
    background: #312e81;
    color: #c4b5fd;
}

/* Account Name Display */
.account-name-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.account-name-display.found {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .account-name-display.found {
    background: #064e3b;
    color: #6ee7b7;
}

.account-name-display.not-found {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .account-name-display.not-found {
    background: #7f1d1d;
    color: #fca5a5;
}

/* Verification Card */
.verification-card {
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-mode .verification-card {
    background: #1a1a1a;
}

.verification-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.verification-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .verification-card h3 {
    color: #f9fafb;
}

.verification-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.dark-mode .verification-card p {
    color: #9ca3af;
}

.verification-progress {
    margin-top: 12px;
    padding: 6px 16px;
    background: #ede9fe;
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.dark-mode .verification-progress {
    background: #312e81;
    color: #c4b5fd;
}
/* Transfer Screen Styles */
.transfer-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f9fafb;
    padding-bottom: 100px;
}

.dark-mode .transfer-screen {
    background: #0f0f0f;
}

/* Progress Steps */
.transfer-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .transfer-progress {
    background: #1a1a1a;
    border-bottom-color: #374151;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}

.dark-mode .step-number {
    background: #374151;
    color: #9ca3af;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: #ffffff;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: #ffffff;
}

.progress-step span {
    font-size: 12px;
    color: #6b7280;
}

.dark-mode .progress-step span {
    color: #9ca3af;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
    transition: all 0.3s;
}

.dark-mode .progress-line {
    background: #374151;
}

.progress-line.active {
    background: var(--primary-color);
}

/* Transfer Container */
.transfer-container {
    padding: 20px;
}

.transfer-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Transfer Type Toggle */
.transfer-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
}

.dark-mode .transfer-type-toggle {
    background: #1a1a1a;
}

.type-btn {
    padding: 12px;
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .type-btn {
    background: #111827;
    color: #9ca3af;
}

.type-btn.active {
    background: #ede9fe;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .type-btn.active {
    background: #312e81;
    color: #c4b5fd;
}

/* Account Name Display */
.account-name-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.account-name-display.found {
    background: #d1fae5;
    color: #065f46;
}

.dark-mode .account-name-display.found {
    background: #064e3b;
    color: #6ee7b7;
}

.account-name-display.not-found {
    background: #fee2e2;
    color: #991b1b;
}

.dark-mode .account-name-display.not-found {
    background: #7f1d1d;
    color: #fca5a5;
}

/* Verification Card */
.verification-card {
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-mode .verification-card {
    background: #1a1a1a;
}

.verification-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.verification-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.dark-mode .verification-card h3 {
    color: #f9fafb;
}

.verification-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.dark-mode .verification-card p {
    color: #9ca3af;
}

.verification-progress {
    margin-top: 12px;
    padding: 6px 16px;
    background: #ede9fe;
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.dark-mode .verification-progress {
    background: #312e81;
    color: #c4b5fd;
}

/* Transfer Summary */
.transfer-summary {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dark-mode .transfer-summary {
    background: #1a1a1a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.dark-mode .summary-row {
    border-bottom-color: #1f2937;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    font-size: 14px;
    color: #6b7280;
}

.dark-mode .summary-row span {
    color: #9ca3af;
}

.summary-row strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.dark-mode .summary-row strong {
    color: #f9fafb;
}

/* Processing Animation */
.processing-animation {
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.dark-mode .processing-animation {
    background: #1a1a1a;
}

.processing-animation h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark-mode .processing-animation h3 {
    color: #f9fafb;
}

.processing-animation p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark-mode .processing-animation p {
    color: #9ca3af;
}

/* Beneficiaries Section */
.beneficiaries-section {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-mode .beneficiaries-section {
    background: #1a1a1a;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.dark-mode .section-subtitle {
    color: #f9fafb;
}

.section-subtitle i {
    color: var(--primary-color);
}

.beneficiaries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.beneficiary-quick-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .beneficiary-quick-btn {
    background: #111827;
    border-color: #374151;
}

.beneficiary-quick-btn:active {
    transform: scale(0.95);
    border-color: var(--primary-color);
}

.beneficiary-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.beneficiary-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

.dark-mode .beneficiary-name {
    color: #f9fafb;
}

.favorite-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    color: #fbbf24;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.dark-mode .divider::before {
    background: #374151;
}

.divider span {
    position: relative;
    padding: 0 12px;
    background: #ffffff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.dark-mode .divider span {
    background: #1a1a1a;
    color: #9ca3af;
}

.manual-entry-section {
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dark-mode .manual-entry-section {
    background: #1a1a1a;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.dark-mode .form-hint {
    color: #9ca3af;
}

.pin-input {
    font-size: 32px;
    letter-spacing: 8px;
    font-weight: 700;
}

.code-input {
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 700;
}

.amount-highlight {
    font-size: 20px !important;
    color: var(--primary-color) !important;
}

.spinner-large {
    font-size: 48px;
}
/* Processing Screen */
.processing-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.dark-mode .processing-screen {
    background: var(--dark-bg-primary);
}

.processing-content {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.processing-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing-icon i {
    font-size: 48px;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-full);
    animation: pulse-ring-animation 1.5s ease-out infinite;
    opacity: 0;
}

.pulse-ring-delay {
    animation-delay: 0.75s;
}

@keyframes pulse-ring-animation {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.processing-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.dark-mode .processing-content h2 {
    color: var(--dark-text-primary);
}

.processing-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-4xl);
}

.dark-mode .processing-subtitle {
    color: var(--dark-text-secondary);
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.processing-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid transparent;
    transition: all var(--transition-base);
}

.dark-mode .processing-step {
    background: var(--dark-bg-secondary);
}

.processing-step.active {
    background: rgba(102, 126, 234, 0.1);
    border-left-color: var(--primary-color);
}

.dark-mode .processing-step.active {
    background: rgba(102, 126, 234, 0.2);
}

.processing-step.completed {
    opacity: 0.6;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dark-mode .step-icon {
    background: var(--dark-bg-primary);
}

.processing-step.active .step-icon {
    background: var(--primary-color);
}

.processing-step.completed .step-icon {
    background: var(--accent-color);
}

.step-icon i {
    font-size: var(--font-size-lg);
    color: var(--text-tertiary);
}

.processing-step.active .step-icon i {
    color: white;
}

.processing-step.completed .step-icon i {
    color: white;
}

.processing-step span {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    text-align: left;
}

.dark-mode .processing-step span {
    color: var(--dark-text-primary);
}

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

/* Result Screen */
.result-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    overflow-y: auto;
}

.dark-mode .result-screen {
    background: var(--dark-bg-primary);
}

.result-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.result-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

/* Success Icon Animation */
.success-icon {
    /* background: rgba(0, 200, 83, 0.1); */
}

.success-checkmark {
    width: 80px;
    height: 80px;
    position: relative;
}

.check-icon-transfer {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    /* border: 4px solid green; */
}

.icon-line {
    height: 5px;
    background-color: var(--accent-color);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(0, 200, 83, 0.2);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: var(--bg-primary);
}

.dark-mode .icon-fix {
    background-color: var(--dark-bg-primary);
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

/* Failure Icon */
.failure-icon {
    background: rgba(255, 75, 43, 0.1);
    animation: shake 0.5s;
}

.failure-icon i {
    font-size: 64px;
    color: var(--accent-red);
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

.result-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.result-content.success h2 {
    color: var(--accent-color);
}

.result-content.failure h2 {
    color: var(--accent-red);
}

.result-message {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-3xl);
    line-height: 1.6;
}

.dark-mode .result-message {
    color: var(--dark-text-secondary);
}

.result-details {
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    text-align: left;
}

.dark-mode .result-details {
    background: var(--dark-bg-secondary);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .detail-row {
    border-bottom-color: var(--dark-border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.detail-row strong {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.dark-mode .detail-row strong {
    color: var(--dark-text-primary);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.result-actions .btn-primary,
.result-actions .btn-secondary {
    width: 100%;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.result-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-actions .btn-secondary:hover {
    background: var(--bg-tertiary);
}

.dark-mode .result-actions .btn-secondary:hover {
    background: var(--dark-bg-tertiary);
}

/* Responsive */
@media (max-width: 430px) {
    .processing-content,
    .result-content {
        padding: var(--spacing-xl);
    }

    .processing-icon,
    .result-icon {
        width: 100px;
        height: 100px;
        margin-bottom: var(--spacing-2xl);
    }

    .processing-icon i {
        font-size: 40px;
    }

    .success-checkmark,
    .check-icon-transfer {
        width: 60px;
        height: 60px;
    }

    .line-tip {
        top: 36px;
        left: 10px;
        width: 20px;
    }

    .line-long {
        top: 30px;
        right: 6px;
        width: 35px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .failure-icon i {
        font-size: 48px;
    }
}
