

    :root {
        --primary: #0052FF;
        --primary-dark: #003dcc;
        --secondary: #10B981;
        --danger: #EF4444;
        --dark: #0A0B0D;
        --gray: #6B7280;
        --light: #F5F7FA;
        --white: #FFFFFF;
        --radius: 8px;
        --shadow: 0 2px 8px rgba(0,0,0,0.1);
        --border: #E5E7EB;
    }
    
    .page-header {
        text-align: center;
        margin: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 1rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
        color: var(--gray);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .profile-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .profile-section {
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
    }
    
    .section-header {
        background: var(--light);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--dark);
        margin: 0;
    }
    
    .portfolio-total {
        text-align: right;
    }
    
    .total-label {
        font-size: 0.9rem;
        color: var(--gray);
        display: block;
    }
    
    .total-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-row {
        display: flex;
        justify-content: space-between;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .info-row:last-child {
        border-bottom: none;
    }
    
    .info-label {
        font-weight: 500;
        color: var(--gray);
    }
    
    .info-value {
        font-weight: 600;
        color: var(--dark);
    }
    
    .referral-code-display {
        font-family: monospace;
        background: var(--light);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        margin-right: 0.5rem;
    }
    
    .btn-copy-small {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1rem;
        padding: 0.25rem;
        border-radius: 4px;
        transition: background 0.2s;
    }
    
    .btn-copy-small:hover {
        background: var(--light);
    }
    
    .crypto-portfolio {
        padding: 1.5rem;
    }
    
    .crypto-asset {
        background: var(--light);
        border-radius: var(--radius);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .crypto-asset:last-child {
        margin-bottom: 0;
    }
    
    .asset-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .asset-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        color: white;
        flex-shrink: 0;
    }
    
    .asset-info {
        flex-grow: 1;
    }
    
    .asset-name {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--dark);
    }
    
    .asset-amount {
        font-size: 0.9rem;
        color: var(--gray);
    }
    
    .asset-value {
        text-align: right;
    }
    
    .asset-current-value {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--dark);
    }
    
    .asset-price {
        font-size: 0.9rem;
        color: var(--gray);
    }
    
    .asset-performance {
        display: flex;
        justify-content: space-between;
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
    }
    
    .performance-item {
        display: flex;
        flex-direction: column;
    }
    
    .performance-label {
        font-size: 0.8rem;
        color: var(--gray);
        margin-bottom: 0.25rem;
    }
    
    .performance-value {
        font-weight: 600;
    }
    
    .performance-value.positive {
        color: var(--secondary);
    }
    
    .performance-value.negative {
        color: var(--danger);
    }
    
    .empty-portfolio {
        text-align: center;
        padding: 3rem 1.5rem;
    }
    
    .empty-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .empty-portfolio h4 {
        font-size: 1.3rem;
        color: var(--dark);
        margin-bottom: 0.5rem;
    }
    
    .empty-portfolio p {
        color: var(--gray);
        margin-bottom: 1.5rem;
    }
    
    .password-form-container {
        padding: 1.5rem;
    }
    
    .password-form {
        max-width: 500px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }
    
    .form-group input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        font-size: 1rem;
        transition: border-color 0.2s;
    }
    
    .form-group input:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
    }
    
    .form-group small {
        display: block;
        margin-top: 0.5rem;
        color: var(--gray);
        font-size: 0.8rem;
    }
    
    .alert {
        padding: 1rem;
        border-radius: var(--radius);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .alert.success {
        background: #f0fdf4;
        color: #166534;
        border: 1px solid #bbf7d0;
    }
    
    .alert.error {
        background: #fef2f2;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }
    
    .profile-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .action-card {
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 1.5rem;
        display: flex;
        gap: 1rem;
        transition: transform 0.2s;
    }
    
    .action-card:hover {
        transform: translateY(-5px);
    }
    
    .action-icon {
        width: 50px;
        height: 50px;
        background: var(--light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .action-content h3 {
        font-size: 1.2rem;
        color: var(--dark);
        margin-bottom: 0.5rem;
    }
    
    .action-content p {
        color: var(--gray);
        margin-bottom: 1rem;
    }
    
    .btn-secondary {
        display: inline-block;
        background: var(--light);
        color: var(--primary);
        padding: 0.5rem 1rem;
        border-radius: var(--radius);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .btn-secondary:hover {
        background: var(--primary);
        color: var(--white);
    }
    
    .btn-primary {
        background: var(--primary);
        color: var(--white);
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        text-decoration: none;
        display: inline-block;
    }
    
    .btn-primary:hover {
        background: var(--primary-dark);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .page-header h1 {
            font-size: 2rem;
        }
        
        .profile-grid {
            grid-template-columns: 1fr;
        }
        
        .section-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .portfolio-total {
            text-align: left;
        }
        
        .asset-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .asset-value {
            text-align: left;
            width: 100%;
        }
        
        .asset-performance {
            flex-direction: column;
            gap: 0.5rem;
        }
    }
