html {
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    padding: 0;
    margin: 0;
    background: #ffffff;
    color: #000000;
}

/* Black and White Button Styles */
.btn-black {
    background: #000000 !important;
    border: 2px solid #000000 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-black:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

.btn-black:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.btn-outline-black {
    background: transparent !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-outline-black:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Card and Section Styles */
.card {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #ffffff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.card-footer {
    border-top: 1px solid #e5e5e5;
    background-color: #f8f9fa !important;
}

/* Login Section Styles */
.login-section {
    border-radius: 12px !important;
    border: 2px solid #e5e5e5 !important;
    transition: all 0.3s ease;
    background: #ffffff;
}

.login-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.login-section .btn {
    transition: all 0.2s ease;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border-width: 2px;
}

.login-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-section .btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.login-section .btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

.login-section .btn-outline-primary {
    border-color: #000000;
    color: #000000;
    font-weight: 600;
    background: transparent;
}

.login-section .btn-outline-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #e5e5e5;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000 !important;
}

.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #666666 !important;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border-width: 2px;
    padding: 1rem 1.25rem;
}

.alert-danger {
    background-color: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    color: #991b1b;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #15803d;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #b45309;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1e40af;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

/* General Button Overrides for Black/White Theme */
.btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

.btn-outline-primary {
    border-color: #000000;
    color: #000000;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* List Group Improvements */
.list-group-item {
    border: none;
    padding: 0.75rem 0;
    background: transparent;
}

.list-group-flush .list-group-item {
    border-radius: 0;
}

/* Badge Styling */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

/* Spinner Styling */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Enhanced Button Hover Effects */
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Professional Section Dividers */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #e5e5e5, transparent);
    margin: 2rem 0;
}

/* Icon Consistency */
.fas, .fa {
    vertical-align: middle;
}

/* Text Color Consistency */
.text-dark {
    color: #000000 !important;
}

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

/* Background Consistency */
.bg-light {
    background-color: #f8f9fa !important;
}