/* FooBar Bank Styles - Professional Banking Theme */

body {
    background: #f5f6fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-dark.bg-primary {
    background-color: #2c3e50 !important;
    border-bottom: 1px solid #34495e;
}

.card {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid #e1e8ed;
    background-color: #f8f9fa;
}

.card-header.bg-success {
    background-color: #2c3e50 !important;
    color: #ffffff;
}

.account-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #2c3e50;
    border: 1px solid #e1e8ed;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
    background-color: #ffffff;
}

.btn-success {
    background-color: #2c3e50;
    border-color: #2c3e50;
    border-radius: 4px;
    padding: 12px 30px;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    box-shadow: none;
}

.btn-success:hover {
    background-color: #34495e;
    border-color: #34495e;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-success:active {
    background-color: #1a252f;
    border-color: #1a252f;
    transform: none;
}

.btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
}

.input-group-text {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
    font-weight: 500;
}

.alert {
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #e1e8ed;
    color: #6c757d;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(44, 62, 80, 0.3);
    border-radius: 50%;
    border-top-color: #2c3e50;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Professional typography */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

.text-muted {
    color: #6c757d !important;
}

.font-weight-bold {
    color: #2c3e50;
}

/* Form styling enhancements */
.form-group label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Card enhancements */
.card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #2c3e50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34495e;
}

/* Professional spacing and layout */
.container {
    max-width: 1200px;
}

.card-body {
    padding: 2rem;
}

/* Subtle hover effects */
.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Professional button states */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}
