/* Root Variables */
:root {
    --primary: #6C4DF6;
    --primary-dark: #5A3DDE;
    --secondary: #1E1E2D;
    --light: #F8F9FA;
    --dark: #212529;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    --body-bg: #F5F7FB;
    --card-bg: #FFFFFF;
    --box-shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Navbar Styles */
.navbar {
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 15px rgba(108, 77, 246, 0.2);
    background-color: var(--card-bg);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.nav-link {
    color: var(--light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0 0.5rem;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    background-color: rgba(108, 77, 246, 0.15);
    transform: translateY(-2px);
}

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

/* Card Styles */
.wallet-card {
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

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

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(108, 77, 246, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Badge Styles */
.badge {
    font-size: 0.65rem;
    padding: 4px 7px;
    border: 2px solid var(--primary-dark);
    border-radius: 8px;
    color: var(--primary-dark);
}

/* Flash Messages */
.flashes-container {
    margin: 1.5rem 0;
}
.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    background-color: var(--primary);
}

.list-group-item {
    transition: background-color 0.2s;
}

.text-monospace {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.card {
    border-radius: 12px;
}


    .wallet-creation-card {
        border-radius: 12px;
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }
    
    .wallet-type-option {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        cursor: pointer;
        transition: all 0.2s;
        border: 2px solid transparent;
    }
    
    .wallet-type-option:hover {
        background-color: rgba(108, 77, 246, 0.05);
        border-color: rgba(108, 77, 246, 0.2);
    }
    
    .wallet-type-option.active {
        background-color: rgba(108, 77, 246, 0.1);
        border-color: var(--primary);
    }
    
    .wallet-type-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(108, 77, 246, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        color: var(--primary);
        font-size: 1.2rem;
    }
    
    .wallet-type-info {
        flex: 1;
    }
    
    .wallet-type-name {
        font-weight: 600;
        margin-bottom: 0.2rem;
    }
    
    .wallet-type-desc {
        font-size: 0.85rem;
        color: var(--text-muted);
    }
    
    .btn-create {
        padding: 0.75rem;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .btn-create:hover {
        transform: translateY(-2px);
    }

    .wallet-card {
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .wallet-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(108, 77, 246, 0.1);
        border-color: rgba(108, 77, 246, 0.2);
    }
    
    .wallet-type-badge {
        background-color: rgba(108, 77, 246, 0.1);
        color: var(--primary);
    }
    
    .balance-display {
        font-size: 1.8rem;
        font-weight: 700;
        font-family: 'Inter', sans-serif;
        color: var(--secondary);
    }
    
    .wallet-address {
        font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 0.85rem;
    }
    
    .action-btn {
        min-width: 80px;
        transition: all 0.2s;
    }
    
    .action-btn:hover {
        transform: translateY(-2px);
    }
    
    .empty-state {
        background-color: rgba(248, 249, 250, 0.5);
        border: 2px dashed rgba(108, 77, 246, 0.3);
    }
    
    @media (max-width: 768px) {
        .balance-display {
            font-size: 1.5rem;
        }
    }

    


/* Responsive Design */
@media (max-width: 768px) {
    main {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 70px;
    }

    .nav-link {
        margin: 0 0.25rem;
    }
}
