/* SiberWallet - Custom Styles */

:root {
    --primary-color: #ff8c00;
    --secondary-color: #ffa500;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.logo-container {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    border-radius: 12px;
}

.nav-link {
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 16px;
    color: white;
    box-shadow: var(--card-shadow);
}

.welcome-card h2 {
    font-weight: 700;
    font-size: 1.8rem;
}

/* Balance Cards */
.balance-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
}

.card-title {
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Quick Actions */
.btn-action {
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 600;
}

.btn-action:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.3);
}

.btn-action i {
    font-size: 2rem;
}

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

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.transaction-details {
    flex-grow: 1;
}

.transaction-details h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Investment Items */
.investment-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.investment-item:hover {
    background-color: #e9ecef;
}

.investment-name {
    font-weight: 600;
    color: #333;
}

.investment-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Support Card */
.support-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, #ff7f00, #ff9500);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Progress Bars */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Footer */
footer {
    background-color: white;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Utilities */
.bg-primary-subtle {
    background-color: rgba(255, 140, 0, 0.1);
}

.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-card h2 {
        font-size: 1.4rem;
    }
    
    .balance-card {
        margin-bottom: 1rem;
    }
    
    .transaction-item {
        flex-wrap: wrap;
    }
    
    .transaction-amount {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
    
    .btn-action {
        padding: 1rem 0.5rem;
    }
    
    .btn-action i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-container {
        width: 38px;
        height: 38px;
    }
    
    .welcome-card {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}