/* TrustBeam Credit Customer Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header Bar */
.top-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-header-left,
.top-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-header-left {
    float: left;
}

.top-header-right {
    float: right;
}

.top-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #495057;
}

.top-link i {
    margin-right: 5px;
}

/* Main Navigation */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-emblem {
    width: 50px;
    height: 50px;
    background: #dc3545;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-t {
    line-height: 1;
}

.logo-b {
    line-height: 1;
    font-size: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-sub {
    font-size: 0.9rem;
    color: #6c757d;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #dc3545;
}

.nav-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    background: #dc3545;
    color: white;
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-login {
    background: #6c757d;
    color: white;
}

.btn-login:hover,
.btn-login.active {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-hero {
    background: white;
    color: #333;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-hero:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
}

/* Promotional Banner */
.promo-banner {
    background: #dc3545;
    color: white;
    padding: 15px 0;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-main {
    font-size: 1rem;
    margin-bottom: 5px;
}

.promo-link {
    color: white;
    text-decoration: underline;
}

.promo-sub {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23f8f9fa"/><circle cx="300" cy="300" r="150" fill="%23e9ecef"/><circle cx="900" cy="200" r="100" fill="%23dee2e6"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Floating Sidebars */
.floating-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-sidebar.left {
    left: 20px;
}

.floating-sidebar.right {
    right: 20px;
}

.floating-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.floating-btn:hover {
    background: #c82333;
    transform: translateX(5px);
}

.floating-btn i {
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #dc3545;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 10px;
    color: #dc3545;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.login-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.login-left {
    color: white;
}

.login-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.login-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.login-right {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #6c757d;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.login-form label i {
    margin-right: 8px;
    color: #667eea;
}

.login-form input,
.login-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus,
.login-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.login-footer p {
    margin-bottom: 10px;
    color: #6c757d;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.secure-note {
    color: #28a745;
    font-size: 0.9rem;
}

.secure-note i {
    margin-right: 5px;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.alert i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Styles */
.dashboard-page {
    background: #f8f9fa;
}

.dashboard-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    top: 0;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.03) 30%, rgba(102, 126, 234, 0.03) 70%, transparent 70%);
    pointer-events: none;
}

.current-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.balance-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.current-date {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 300px;
    justify-content: flex-end;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.2;
}

.user-id {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.kyc-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 2px;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid #e9ecef;
}

.user-profile-sidebar {
    padding: 25px 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.user-avatar-sidebar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.user-avatar-sidebar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    margin-bottom: 20px;
}

.user-details .user-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-details .user-id {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.btn-profile,
.btn-logout {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-profile {
    background: #667eea;
    color: white;
}

.btn-profile:hover {
    background: #5a6fd8;
}

.btn-logout {
    background: #6c757d;
    color: white;
}

.btn-logout:hover {
    background: #5a6268;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h3 {
    padding: 0 20px;
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 5px;
}

.nav-section a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-section a:hover,
.nav-section li.active a {
    background: #f8f9fa;
    color: #667eea;
    border-left-color: #667eea;
}

.nav-section a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.secure-banking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.secure-banking i {
    color: #28a745;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    padding: 30px;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-icon.income {
    background: #28a745;
}

.card-icon.outgoing {
    background: #dc3545;
}

.card-icon.limit {
    background: #6f42c1;
}

.card-content h3 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.card-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.greeting {
    font-size: 1.3rem;
    font-weight: 500;
}

.datetime {
    text-align: right;
}

.time {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.balance-main {
    text-align: center;
    margin-bottom: 30px;
}

.balance-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.balance-amount {
    font-size: 3rem;
    font-weight: bold;
}

.account-info {
    margin-bottom: 30px;
}

.account-number {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.account-number .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.account-number .number {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.quick-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-transactions,
.btn-topup {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-transactions:hover,
.btn-topup:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Quick Actions Section */
.quick-actions-section {
    margin-bottom: 40px;
}

.quick-actions-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-action-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-5px);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.quick-action-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Cards Section */
.cards-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.no-cards {
    background: white;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.no-cards i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-cards p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Right Sidebar */
.dashboard-right-sidebar {
    width: 320px;
    padding: 30px 20px;
}

.stats-section,
.quick-transfer-section,
.recent-transactions-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stats-section h3,
.quick-transfer-section h3,
.recent-transactions-section h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.1rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.transfer-option {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.transfer-option:last-child {
    margin-bottom: 0;
}

.transfer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.transfer-content {
    flex: 1;
}

.transfer-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.transfer-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

.transfer-link {
    color: #667eea;
    text-decoration: none;
    font-size: 1.2rem;
}

.transfer-link:hover {
    color: #5a6fd8;
}

.transactions-list {
    margin-bottom: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 0.9rem;
}

.transaction-content {
    flex: 1;
}

.transaction-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.transaction-amount {
    font-weight: 600;
    font-size: 1rem;
}

.transaction-amount.credit {
    color: #28a745;
}

.transaction-amount.debit {
    color: #dc3545;
}

.no-transactions {
    text-align: center;
    color: #6c757d;
    padding: 20px;
}

.view-all-transactions {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    display: block;
}

.view-all-transactions:hover {
    text-decoration: underline;
}

/* Dashboard Footer */
.dashboard-footer {
    background: white;
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #333;
}

/* Transactions Page Styles */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filters-form {
    width: 100%;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #667eea;
}

.search-group {
    flex: 2;
    min-width: 300px;
}

.search-input {
    position: relative;
}

.search-input input {
    padding-right: 50px;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: #667eea;
    border: none;
    color: white;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

.transactions-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
}

.section-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.results-count {
    color: #666;
    font-size: 14px;
}

.table-container {
    overflow-x: auto;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.transactions-table th {
    background: #f8f9fa;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e1e5e9;
}

.transactions-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}

.transactions-table tbody tr:hover {
    background: #f8f9fa;
}

.transaction-date {
    display: flex;
    flex-direction: column;
}

.transaction-date .date {
    font-weight: 500;
    color: #333;
}

.transaction-date .time {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.transaction-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.transaction-type.type-deposit {
    background: #e8f5e8;
    color: #2d5a2d;
}

.transaction-type.type-withdrawal {
    background: #ffe8e8;
    color: #5a2d2d;
}

.transaction-type.type-transfer {
    background: #e8f0ff;
    color: #2d4a5a;
}

.transaction-description {
    max-width: 200px;
}

.transaction-description .desc {
    color: #333;
    font-weight: 500;
}

.reference-number {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.amount {
    font-weight: 600;
    font-size: 16px;
}

.amount.positive {
    color: #28a745;
}

.amount.negative {
    color: #dc3545;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.empty-state p {
    color: #666;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        order: 2;
    }
    
    .dashboard-right-sidebar {
        width: 100%;
        order: 3;
    }
    
    .dashboard-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-center {
        margin: 15px 0;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .floating-sidebar {
        display: none;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .login-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Transactions responsive adjustments */
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .search-group {
        min-width: 100%;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .filter-actions .btn-primary,
    .filter-actions .btn-secondary {
        flex: 1;
    }
    
    .transactions-table {
        font-size: 14px;
    }
    
    .transactions-table th,
    .transactions-table td {
        padding: 10px 8px;
    }
    
    .transaction-type {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .status-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    /* Dashboard header mobile styles */
    .dashboard-header {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px 15px !important;
        min-height: auto !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    }
    
    .current-balance,
    .current-date,
    .user-profile {
        min-width: auto !important;
        width: 100% !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }
    
    .current-balance {
        order: 1 !important;
        text-align: left !important;
    }
    
    .current-date {
        order: 2 !important;
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .user-profile {
        order: 3 !important;
        flex-direction: row !important;
        text-align: right !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }
    
    .user-info {
        align-items: flex-end !important;
        text-align: right !important;
    }
    
    .user-profile .user-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .user-profile .user-name {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
    }
    
    .user-profile .user-id {
        font-size: 0.8rem !important;
    }
    
    .user-profile .kyc-badge {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }
    
    /* Dashboard mobile responsive improvements */
    .dashboard-container {
        display: block;
        min-height: 100vh;
    }
    
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        order: unset;
        width: 280px;
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 15px;
        order: unset;
        width: 100%;
    }
    
    .dashboard-right-sidebar {
        display: none;
    }
    
    /* Overview cards mobile */
    .overview-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .overview-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .overview-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .overview-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .overview-number {
        font-size: 1.5rem;
    }
    
    /* Balance card mobile */
    .balance-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .balance-header h2 {
        font-size: 1.3rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .balance-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Quick actions mobile */
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .quick-action {
        padding: 15px;
        text-align: center;
    }
    
    .quick-action i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .quick-action h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .quick-action p {
        font-size: 0.8rem;
    }
    
    /* Cards section mobile */
    .cards-section {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .card-amount {
        font-size: 1.5rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Sidebar mobile improvements */
    .sidebar-header {
        padding: 15px;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .logo-emblem {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.8rem;
    }
    
    .user-profile-sidebar {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .user-avatar-sidebar {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .user-details {
        text-align: center;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-profile,
    .btn-logout {
        width: 100%;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .sidebar-nav {
        padding: 15px;
    }
    
    .nav-section h3 {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .nav-section ul li a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .nav-section ul li a i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .sidebar-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        background: #667eea;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Hide mobile menu toggle on larger screens */
    @media (min-width: 769px) {
        .mobile-menu-toggle {
            display: none;
        }
    }
    
    .mobile-menu-toggle:hover {
        background: #5a6fd8;
    }
    
    /* Overlay for mobile sidebar */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    /* Page header mobile */
    .page-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* Alerts mobile */
    .alert {
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .alert i {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    /* Prevent body scroll when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
    
    /* Ensure sidebar is above other content */
    .dashboard-sidebar.active {
        z-index: 1002;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .dashboard-header {
        padding: 12px 10px !important;
        gap: 12px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
    }
    
    .current-balance .balance-label {
        font-size: 0.8rem;
    }
    
    .current-balance .balance-amount {
        font-size: 1.2rem;
    }
    
    .current-date {
        font-size: 0.8rem;
    }
    
    .user-profile .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .user-profile .user-name {
        font-size: 0.8rem;
    }
    
    .user-profile .user-id {
        font-size: 0.7rem;
    }
    
    .dashboard-main {
        padding: 10px;
    }
    
    .overview-cards {
        gap: 10px;
    }
    
    .overview-card {
        padding: 15px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .cards-section {
        gap: 10px;
    }
    
    .card {
        padding: 15px;
    }
    
    .balance-card {
        padding: 15px;
    }
    
    .balance-amount {
        font-size: 1.8rem;
    }
    
    .current-balance .balance-amount {
        font-size: 1.3rem;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .user-id {
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        top: 10px;
        left: 10px;
        padding: 8px;
        font-size: 1rem;
    }
    
    .dashboard-sidebar {
        width: 260px;
        left: -260px;
    }
    
    .sidebar-header,
    .user-profile-sidebar,
    .sidebar-nav,
    .sidebar-footer {
        padding: 12px;
    }
    
    .logo-emblem {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .user-avatar-sidebar {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .nav-section h3 {
        font-size: 0.7rem;
    }
    
    .nav-section ul li a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .nav-section ul li a i {
        font-size: 0.8rem;
        width: 18px;
    }
}

/* Transfer Page Styles */
.transfer-form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.transfer-form h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.transfer-form-content {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Transfer Verification Steps */
.transfer-verification {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.verification-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.verification-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e1e5e9;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e1e5e9;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.step.active .step-label {
    color: #667eea;
}

.step.completed .step-label {
    color: #28a745;
}

.verification-form {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.verification-form h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.verification-form p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.verification-form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.verification-form-content .form-group {
    text-align: left;
}

.verification-form-content .form-actions {
    justify-content: center;
    border-top: none;
    padding-top: 0;
}

/* Transfer Success */
.transfer-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.transfer-success h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.transfer-success p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.transfer-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.transfer-details p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.transfer-details p:last-child {
    margin-bottom: 0;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for transfer page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .verification-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .verification-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 15px;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .balance-card {
        padding: 30px 20px;
    }
    
    .balance-amount {
        font-size: 2.5rem;
    }
    
    .overview-card {
        padding: 20px;
    }
    
    .card-amount {
        font-size: 1.3rem;
    }
}

/* Cards Page Styles */
.cards-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.overview-icon i {
    font-size: 1.5rem;
    color: white;
}

.overview-content h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-number {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Request Card Section */
.request-card-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.section-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.request-card-form {
    display: flex;
    justify-content: flex-start;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.card-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card-item.active {
    border-color: #28a745;
}

.card-item.blocked {
    border-color: #dc3545;
    opacity: 0.8;
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-type i {
    font-size: 1.2rem;
}

.card-type span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-status .status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    header: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-body {
    padding: 25px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.card-details {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
}

.card-limits {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.limit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.limit-item:last-child {
    margin-bottom: 0;
}

.limit-label {
    color: #666;
    font-size: 0.9rem;
}

.limit-value {
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.card-created {
    color: #666;
    font-size: 0.8rem;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Card Details Modal */
.card-details-view {
    text-align: left;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.detail-section .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section .detail-item:last-child {
    border-bottom: none;
}

.detail-section .detail-label {
    color: #666;
    font-weight: 500;
    min-width: 120px;
}

.detail-section .detail-value {
    color: #333;
    font-weight: 600;
}

/* Responsive Design for Cards */
@media (max-width: 768px) {
    .cards-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .card-actions {
        justify-content: center;
    }
    
    .overview-card {
        text-align: center;
        flex-direction: column;
    }
    
    .overview-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Loan Request Page Styles */
.loan-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.loan-application-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.loan-application-form {
    margin-top: 20px;
}

.loan-application-form h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.amount-input {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    color: #666;
    font-weight: 600;
    z-index: 1;
}

.amount-input input {
    padding-left: 35px;
}

/* Loan Preview */
.loan-preview {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.loan-preview h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.preview-value {
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Existing Loans Section */
.existing-loans-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.loans-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.loans-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.loans-table th {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #e1e5e9;
}

.loans-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.loans-table tr:hover {
    background-color: #f8f9fa;
}

.loan-row.status-pending {
    background-color: #fff3cd;
}

.loan-row.status-approved {
    background-color: #d4edda;
}

.loan-row.status-rejected {
    background-color: #f8d7da;
}

.loans-table .amount {
    font-weight: 600;
    color: #28a745;
}

.loans-table .purpose {
    max-width: 200px;
    color: #666;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

/* Responsive Design for Loan Request */
@media (max-width: 768px) {
    .loan-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .preview-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .loans-table {
        font-size: 0.8rem;
    }
    
    .loans-table th,
    .loans-table td {
        padding: 10px 15px;
    }
    
    .loan-application-section,
    .existing-loans-section {
        padding: 20px;
    }
}
