/* fxmantra Platform - Main Stylesheet */

/* CSS Variables - fxmantra Design System */
:root {
    --fxmantra-green-neon: #00F56C;
    --fxmantra-green-primary: #00C853;
    --fxmantra-green-dark: #006B34;
    --fxmantra-emerald-dark: #004A24;
    --fxmantra-deep-background:#0E2636;
    --fxmantra-charcoal: #0A2A1A;
    --fxmantra-white: #FFFFFF;
    --fxmantra-mint-white: #F3FFF8;
    --fxmantra-gradient-hero: linear-gradient(90deg, #00F56C, #00C853, #006B34);
    --fxmantra-gradient-panel: linear-gradient(180deg, #004A24, #00170E);
    --fxmantra-border-radius: 12px;
    --glass-background: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(20px);
    --neon-green: #00F56C;
    --neon-purple: #8A2BE2;
    --card-gradient-purple: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0) 100%);
    --card-gradient-green: linear-gradient(135deg, rgba(0, 245, 108, 0.2) 0%, rgba(0, 245, 108, 0) 100%);
}

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

body {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--fxmantra-deep-background);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 245, 108, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 197, 83, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 107, 52, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--fxmantra-mint-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/background.jpg') center/cover;
    opacity: 0.3;
    z-index: -2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0.5rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 130px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--fxmantra-gradient-hero);
    border-radius: var(--fxmantra-border-radius);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--fxmantra-green-neon);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fxmantra-mint-white);
    margin: 3px 0;
    border-radius: 2px;
}

.nav-close {
    display: none;
}

.nav a {
    color: var(--fxmantra-mint-white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--fxmantra-green-neon);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: var(--fxmantra-green-neon);
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: var(--fxmantra-border-radius);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--fxmantra-gradient-hero);
    color: var(--fxmantra-deep-background);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 245, 108, 0.3);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--fxmantra-charcoal);
    color: var(--fxmantra-green-neon);
    border: 2px solid var(--fxmantra-green-primary);
}

.btn-secondary:hover {
    background: var(--fxmantra-green-primary);
    color: var(--fxmantra-deep-background);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Cards */
.card {
    background: #305E30;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.6;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 108, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.wallet-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.6;
}

.wallet-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 108, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wallet-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 245, 108, 0.3),
        0 0 30px rgba(0, 245, 108, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #FFD700;
}

.wallet-card:hover::after {
    opacity: 1;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(0, 245, 108, 0.2);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 108, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 245, 108, 0.4),
        0 0 40px rgba(0, 245, 108, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: var(--neon-green);
}

.stat-icon:hover::before {
    opacity: 1;
}

.stat-label {
    color: rgba(243, 255, 248, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--fxmantra-green-neon);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--fxmantra-mint-white);
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--fxmantra-charcoal);
    border: 2px solid var(--fxmantra-green-dark);
    border-radius: var(--fxmantra-border-radius);
    color: var(--fxmantra-mint-white);
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--fxmantra-green-primary);
    box-shadow: 0 0 20px rgba(0, 245, 108, 0.3);
}

/* Password visibility toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--fxmantra-mint-white);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--fxmantra-green-neon);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--fxmantra-charcoal);
    border: 2px solid var(--fxmantra-green-dark);
    border-radius: var(--fxmantra-border-radius);
    color: var(--fxmantra-mint-white);
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300ff9d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: var(--fxmantra-green-neon);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

.form-select option {
    background: #1a1a2e;
    color: #fff;
    padding: 12px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th {
    background: var(--fxmantra-charcoal);
    padding: 1rem;
    text-align: left;
    color: var(--fxmantra-green-neon);
    font-weight: 700;
    border-bottom: 2px solid var(--fxmantra-green-dark);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 107, 52, 0.2);
}

.table tr:hover {
    background: rgba(0, 107, 52, 0.1);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 520px;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--fxmantra-border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 245, 108, 0.1);
    border: 1px solid var(--fxmantra-green-primary);
    color: var(--fxmantra-green-neon);
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff6b6b;
}

.alert-info {
    background: rgba(0, 197, 255, 0.1);
    border: 1px solid #00c5ff;
    color: #00c5ff;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
    margin-top: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #00F56C 20%, #7bff00 50%, #046734 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Gradient styling for all h1 elements */
h1,
h2,
h3 {
    background: linear-gradient(90deg, #00F56C 20%, #7bff00 50%, #0ba7a7 80%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 4s ease-in-out infinite;
}

.page-subtitle {
    color: rgba(243, 255, 248, 0.7);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--fxmantra-charcoal);
    border-top: 1px solid rgba(0, 107, 52, 0.3);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(243, 255, 248, 0.5);
    margin-top: auto;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    max-width: 500px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--fxmantra-green-neon);
    margin-bottom: 0.5rem;
}

/* Landing Page */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fxmantra-gradient-hero);
    opacity: 0.1;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--fxmantra-green-neon);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(243, 255, 248, 0.8);
}

/* Logout button styling for desktop */
.nav .logout-btn {
    color: var(--fxmantra-mint-white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav .logout-btn:hover {
    color: var(--fxmantra-green-neon);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #001a0f 0%, #002a18 100%);
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 60px 0 30px;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav a,
    .nav .dropdown {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    .nav .dropdown-toggle {
        padding: 0;
        border-bottom: none;
    }

    .nav .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .nav .dropdown-menu a {
        padding: 12px 25px 12px 40px;
        border-bottom: none;
    }

    /* Disable hover on mobile */
    .nav .dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav .dropdown.open:hover .dropdown-menu {
        display: block;
    }

    .nav .user-info {
        padding: 20px 25px;
        margin-top: auto;
        border-bottom: none;
    }

    /* Logout button styling in mobile nav */
    .nav .logout-btn {
        margin: 0;
        padding: 15px 25px;
        background: transparent;
        color: var(--fxmantra-mint-white);
        border: none;
        border-radius: 0;
        font-weight: 400;
        text-decoration: none;
        display: block;
        text-align: left;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    .nav .logout-btn:hover {
        background: rgba(0, 245, 108, 0.1);
        color: var(--fxmantra-green-neon);
        transform: none;
        box-shadow: none;
    }

    .nav-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .nav-close:hover {
        background: rgba(0, 245, 108, 0.2);
        border-color: var(--primary);
        color: var(--primary);
    }

    .header.nav-open .nav {
        transform: translateX(0);
    }

    /* Overlay when menu is open */
    .header.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    /* Mobile Table Improvements */
    .table-responsive {
        border: 1px solid rgba(0, 107, 52, 0.2);
        border-radius: 8px;
        margin: 1rem 0;
    }

    .table {
        font-size: 0.85rem;
    }

    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    .table th {
        font-size: 0.8rem;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Make table scrollable with better touch support */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--fxmantra-green-neon) transparent;
    }

    .table-responsive::-webkit-scrollbar {
        height: 6px;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: var(--fxmantra-green-neon);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: var(--fxmantra-green-light);
    }

    /* Improve table row hover on mobile */
    .table tr:hover {
        background: rgba(0, 245, 108, 0.15);
    }

    /* Better button sizing in tables */
    .table .btn-small {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Mobile Dropdown Menu Fixes */
    .nav .dropdown {
        position: relative;
    }

    .nav .dropdown-menu {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        border: none;
        width: 100%;
    }

    .nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .nav .dropdown-menu a {
        padding: 12px 25px 12px 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }

    .nav .dropdown-menu a:hover {
        background: rgba(0, 245, 108, 0.1);
        color: var(--fxmantra-green-neon);
    }

    .nav .dropdown-toggle::after {
        content: '▼';
        font-size: 0.7rem;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .nav .dropdown.open .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Disable hover on mobile for dropdowns */
    .nav .dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav .dropdown.open:hover .dropdown-menu {
        display: block;
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 245, 108, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 245, 108, 0.4);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-down {
    animation: slideInDown 0.6s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered animations for dashboard elements */
.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.wallet-card {
    animation: slideInUp 0.6s ease-out;
}

.wallet-card:nth-child(1) {
    animation-delay: 0.1s;
}

.wallet-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Enhanced glass effect for iOS-style design */
.ios-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced button effects */
.btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.text-success {
    color: var(--fxmantra-green-neon);
}
.text-danger {
    color: #D4AF37;
}
.text-muted {
    color: rgba(243, 255, 248, 0.7);
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

/* Additional utility classes for glass effects */
.glass-effect {
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 245, 108, 0.15);
    border-color: rgba(0, 245, 108, 0.2);
}

/* Glass card variants inspired by reference image */
.glass-card-purple {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 8px 32px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    opacity: 0.8;
}

.glass-card-purple::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card-purple:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(138, 43, 226, 0.4),
        0 0 30px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--neon-purple);
}

.glass-card-purple:hover::after {
    opacity: 1;
}

.glass-card-green {
    background: linear-gradient(135deg, rgba(0, 245, 108, 0.15) 0%, rgba(0, 245, 108, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 8px 32px rgba(0, 245, 108, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 245, 108, 0.3);
    border: 1px solid rgba(0, 245, 108, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.8;
}

.glass-card-green::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 108, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card-green:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 245, 108, 0.4),
        0 0 30px rgba(0, 245, 108, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--neon-green);
}

.glass-card-green:hover::after {
    opacity: 1;
}

/* Light blob effect */
.light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    animation: blob-float 6s ease-in-out infinite;
}

.light-blob-green {
    background: radial-gradient(circle, rgba(0, 245, 108, 0.8) 0%, transparent 70%);
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
}

.light-blob-purple {
    background: radial-gradient(circle, rgba(138, 43, 226, 0.8) 0%, transparent 70%);
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 10%;
}

/* Animated gradient card for fxmantra Pool */
.animated-gradient {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #c471f5, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.animated-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #c471f5, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    border-radius: 12px;
    z-index: -1;
}

.animated-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fxmantra-deep-background);
    border-radius: 10px;
    z-index: -1;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
}

.blur-blob-blue {
    background: radial-gradient(circle, rgba(5, 110, 37, 0.8) 0%, transparent 70%);
    width: 180px;
    height: 180px;
    top: 20%;
    left: 10%;
    animation: blinkFade 3s ease-in-out infinite;
}

.blur-blob-violet {
    background: radial-gradient(circle, rgba(16, 192, 133, 0.8) 0%, transparent 70%);
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: blinkFade 3s ease-in-out infinite 1.5s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* TVI Coin Price Card Styles */
.tvi-coin-price-card {
    background: linear-gradient(135deg,
            rgba(0, 245, 108, 0.15) 0%,
            rgba(0, 197, 83, 0.1) 25%,
            rgba(138, 43, 226, 0.1) 75%,
            rgba(0, 107, 52, 0.15) 100%);
    border: 1px solid rgba(0, 245, 108, 0.3);
    position: relative;
    overflow: hidden;
    animation: tviCoinPulse 4s ease-in-out infinite;
}

.tvi-coin-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 245, 108, 0.2),
            transparent);
    animation: tviCoinShimmer 3s ease-in-out infinite;
}

.tvi-coin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.tvi-coin-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fxmantra-green-neon), var(--fxmantra-green-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 245, 108, 0.3);
}

.tvi-coin-logo img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.tvi-coin-title .stat-label {
    color: var(--fxmantra-mint-white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tvi-coin-price-display {
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.currency-symbol {
    font-size: 24px;
    color: var(--fxmantra-green-neon);
    font-weight: 700;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--fxmantra-white);
    text-shadow: 0 0 20px rgba(0, 245, 108, 0.5);
    background: linear-gradient(135deg, var(--fxmantra-white), var(--fxmantra-green-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-change {
    font-size: 14px;
    color: var(--fxmantra-green-primary);
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(0, 245, 108, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 108, 0.2);
}

.tvi-coin-value {
    font-size: 14px;
    color: var(--fxmantra-mint-white);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

@keyframes tviCoinPulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(0, 245, 108, 0.2);
    }

    50% {
        box-shadow: 0 8px 40px rgba(0, 245, 108, 0.3);
    }
}

@keyframes tviCoinShimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes blinkFade {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

/* Admin TVI Price Preview Styles */
.tvi-price-preview {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(0, 245, 108, 0.1) 0%,
            rgba(0, 197, 83, 0.05) 100%);
    border: 1px solid rgba(0, 245, 108, 0.2);
    border-radius: var(--fxmantra-border-radius);
    backdrop-filter: blur(10px);
}

.tvi-price-preview h4 {
    color: var(--fxmantra-green-neon);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.tvi-price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.tvi-price-display .currency-symbol {
    font-size: 20px;
    color: var(--fxmantra-green-neon);
    font-weight: 700;
}

.tvi-price-display .price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--fxmantra-white);
    text-shadow: 0 0 10px rgba(0, 245, 108, 0.3);
}

.tvi-price-display .price-change {
    font-size: 12px;
    color: var(--fxmantra-green-primary);
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(0, 245, 108, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 245, 108, 0.2);
}

.tvi-price-preview .tvi-coin-value {
    font-size: 14px;
    color: var(--fxmantra-mint-white);
    opacity: 0.9;
}

/* Custom Card Styles */
.custom-card {
    background: #305E30;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 12px;
    padding: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 245, 108, 0.2);
    border-color: #FFD700;
}

.custom-card-header {
    display: flex;
    gap: 10px;
}

.custom-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 245, 108, 0.1);
    animation: pulse 2s infinite;
}

.custom-card-icon img {
    width: 40px;
}

.custom-card-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-transform: capitalize;
}

.custom-card-balance {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    animation: fadeIn 1s ease-out;
}

.custom-card-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-card-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.custom-card-stat:hover {
    padding-left: 4px;
    border-bottom-color: rgba(0, 245, 108, 0.3);
}

.custom-card-stat:last-child {
    border-bottom: none;
}

.custom-card-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255);
    text-transform: capitalize;
}

.custom-card-stat-value {
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.custom-card-stat:hover .custom-card-stat-value {
    transform: scale(1.05);
}

.text-blue {
    color: #6ab0ff;
}

.text-green {
    color: #00F56C;
}

.text-yellow {
    color: #FFD700;
}

/* Grid system for custom cards */
.grid.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

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

    .custom-card {
        padding: 14px;
    }

    .custom-card-balance {
        font-size: 24px;
    }

    .custom-card-icon {
        width: 36px;
        height: 36px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 245, 108, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 245, 108, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered animation delays */
.custom-card:nth-child(1) {
    animation-delay: 0.1s;
}

.custom-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--fxmantra-mint-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: var(--fxmantra-green-neon);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(18 82 14 / 94%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--fxmantra-border-radius);
    box-shadow: var(--glass-shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--fxmantra-mint-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(0, 245, 108, 0.1);
    color: var(--fxmantra-green-neon);
    padding-left: 1.25rem;
}

/* Profile Page Styles */
.profile-overview-card {
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--fxmantra-border-radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.profile-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-gradient-green);
    opacity: 0.3;
    z-index: -1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--fxmantra-green-neon);
    box-shadow: 0 0 20px rgba(0, 245, 108, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    color: var(--fxmantra-green-neon);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.profile-info .username {
    color: var(--fxmantra-mint-white);
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.profile-info .email {
    color: var(--fxmantra-mint-white);
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 245, 108, 0.2);
    color: var(--fxmantra-green-neon);
    border: 1px solid var(--fxmantra-green-neon);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.badge-info {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid #007bff;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fxmantra-green-neon);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--fxmantra-mint-white);
    opacity: 0.7;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fxmantra-green-neon);
    font-size: 1.2rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fxmantra-green-neon);
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.8rem;
    color: var(--fxmantra-mint-white);
    opacity: 0.7;
}

/* Account Details */
.account-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-label {
    font-weight: 500;
    color: var(--fxmantra-mint-white);
    opacity: 0.8;
}

.detail-value {
    color: var(--fxmantra-green-neon);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value code {
    background: rgba(0, 245, 108, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--fxmantra-green-neon);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: rgba(0, 245, 108, 0.1);
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--fxmantra-mint-white);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--fxmantra-mint-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fxmantra-green-neon);
    box-shadow: 0 0 0 2px rgba(0, 245, 108, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--fxmantra-mint-white);
    opacity: 0.6;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-description {
    color: var(--fxmantra-mint-white);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--fxmantra-mint-white);
    opacity: 0.6;
}

.activity-amount {
    font-weight: 600;
    color: var(--fxmantra-green-neon);
    font-size: 1rem;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fxmantra-green-neon);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 245, 108, 0.3);
}

.page-subtitle {
    color: var(--fxmantra-mint-white);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .profile-overview-card {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }
}