/* Global Trust Bank - Professional Business Design */
:root {
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --accent: #3182ce;
    --accent-hover: #2b6cb0;
    --success: #38a169;
    --warning: #d69e2e;
    --danger: #e53e3e;
    --light: #f7fafc;
    --dark: #2d3748;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; margin: 0; padding: 0; color: var(--dark); background: #f0f4f8; }

/* Landing Page */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 90vh;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

/* Features Grid */
.features-section { padding: 4rem 0; }
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }

/* Buttons */
.btn-bank { background: var(--primary); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 8px; }
.btn-bank:hover { background: var(--primary-dark); color: white; }
.btn-outline-bank { border: 2px solid white; color: white; background: transparent; }
.btn-outline-bank:hover { background: white; color: var(--primary); }

/* Navbar */
.navbar-bank { background: var(--primary) !important; }
.navbar-bank .navbar-brand { color: white !important; font-weight: 700; }
.navbar-bank .nav-link { color: rgba(255,255,255,0.9) !important; }
.navbar-bank .nav-link:hover { color: white !important; }

/* Cards */
.card-bank { border: none; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.07); }
.card-bank .card-header { background: var(--primary); color: white; border-radius: 12px 12px 0 0; font-weight: 600; }

/* Admin Sidebar */
.admin-sidebar {
    min-height: 100vh;
    background: var(--primary);
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}
.admin-sidebar .sidebar-brand {
    padding: 1.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.75rem 1.5rem;
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.admin-sidebar .nav-link.active { color: white; background: rgba(255,255,255,0.15); border-left-color: var(--accent); }
.admin-sidebar .nav-item i { margin-right: 0.5rem; width: 20px; text-align: center; }

.admin-content { margin-left: 260px; min-height: 100vh; background: #f0f4f8; }

/* Dashboard Stats */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-icon { font-size: 2.5rem; opacity: 0.8; }
.stat-card.primary .stat-icon { color: var(--primary); }
.stat-card.success .stat-icon { color: var(--success); }
.stat-card.warning .stat-icon { color: var(--warning); }
.stat-card.danger .stat-icon { color: var(--danger); }

/* Tables */
.table-bank thead { background: var(--primary); color: white; }
.table-bank thead th { border: none; font-weight: 600; }
.table-bank tbody tr:hover { background: rgba(49, 130, 206, 0.05); }

/* Forms */
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.25); }
.form-label { font-weight: 500; color: var(--dark); }

/* Alerts */
.alert-bank { border-radius: 8px; }

/* User Dashboard */
.user-dashboard .balance-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
}
.user-dashboard .balance-amount { font-size: 2.5rem; font-weight: 700; }

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar { width: 100%; position: relative; }
    .admin-content { margin-left: 0; }
    .hero-title { font-size: 2rem; }
}
