/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
}

/* Feature Icon */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 5px;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    color: #6c757d;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-item.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.nav-item:hover {
    color: #0d6efd;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .floating-nav {
        width: 90%;
        max-width: 400px;
    }
    
    .nav-item {
        padding: 8px 10px;
        min-width: 50px;
    }
    
    .nav-item span {
        font-size: 0.65rem;
    }
}

/* Mobile-first adjustments */
@media (max-width: 576px) {
    .stat-card .card-body {
        padding: 1rem;
    }
    
    .stat-card h5 {
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Dashboard Cards */
.dashboard-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-card .card-body {
    padding: 1.25rem;
}

.dashboard-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Investment Package Card */
.package-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card .card-header {
    padding: 1rem;
    border-bottom: none;
}

.package-card .card-body {
    padding: 1.25rem;
}

.package-card .list-group-item {
    border: none;
    padding: 0.5rem 0;
}

.package-card .card-footer {
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* Transaction Table */
.transaction-table {
    font-size: 0.9rem;
}

.transaction-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Referral Code Styles */
.referral-code {
    font-family: monospace;
    background-color: #f1f1f1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile Navigation Toggle */
@media (max-width: 768px) {
    .floating-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .floating-nav {
        display: none;
    }
}