/* Custom CSS for Investment Platform */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    background: #f8f9fa;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

/* Navbar Customization */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-dashboard {
    border-left: 4px solid var(--primary-color);
}

.card-success {
    border-left: 4px solid var(--success-color);
}

.card-warning {
    border-left: 4px solid var(--warning-color);
}

.card-danger {
    border-left: 4px solid var(--danger-color);
}

/* Investment Plan Cards */
.plan-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.plan-card .card-header {
    padding: 1.5rem;
    border-bottom: none;
}

.plan-card .card-body {
    padding: 1.5rem;
}

.plan-card .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.plan-starter .card-header {
    background-color: rgba(13, 110, 253, 0.1);
}

.plan-growth .card-header {
    background-color: rgba(25, 135, 84, 0.1);
}

.plan-premium .card-header {
    background-color: rgba(13, 202, 240, 0.1);
}

.plan-elite .card-header {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Dashboard Stats */
.stat-card {
    border: none;
    border-radius: 0.75rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Progress bars */
.progress {
    height: 10px;
    border-radius: 5px;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Notification Dropdown */
.notification-dropdown {
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

/* Authentication Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #e0e7ff 0%, #f8f9fa 100%);
}

.auth-card {
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(13,110,253,0.08);
    background: #fff;
    max-width: 420px;
    width: 100%;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auth-card {
        max-width: 100%;
        margin: 0 1rem;
    }
}

/* Custom JavaScript file */

.sidebar {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.sidebar .nav-link.active {
    background: #0d6efd;
    color: #fff !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
}

.sidebar .nav-link {
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
    color: #212529;
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover {
    background: #e9ecef;
    color: #0d6efd !important;
}

.btn-primary {
    background: linear-gradient(90deg, #0d6efd 60%, #0dcaf0 100%);
    border: none;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0dcaf0 0%, #0d6efd 100%);
}

input.form-control, select.form-control, textarea.form-control {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: none;
    transition: border-color 0.2s;
}

input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.1rem rgba(13,110,253,0.15);
}

::-webkit-scrollbar {
    width: 8px;
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e0e7ff;
    border-radius: 4px;
}