/* Professional UI Enhancements */
.card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

.card-header.bg-light {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e0e0e0;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #d1d3e2;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus, .form-select:focus {
        border-color: #3a7bd5;
        box-shadow: 0 0 0 0.2rem rgba(58, 123, 213, 0.25);
    }

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3a7bd5;
    border-color: #3a7bd5;
}

    .btn-primary:hover {
        background-color: #2c65b8;
        border-color: #2c65b8;
    }

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .btn-group {
        flex-direction: column;
    }

        .btn-group .btn {
            margin-bottom: 0.5rem;
        }
}

/* Loading states */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Validation styles */
.text-danger {
    font-size: 0.875rem;
}

.field-validation-error {
    display: block;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #dc3545;
}

    .input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

/* Expense Management Styles */
.expense-item-card {
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

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

.amount-display {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.vat-badge {
    font-size: 0.8em;
}

.receipt-preview {
    max-width: 200px;
    max-height: 150px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px;
}

.calculation-summary {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
}

.status-badge-draft {
    background-color: #6c757d;
}

.status-badge-submitted {
    background-color: #17a2b8;
}

.status-badge-approved {
    background-color: #28a745;
}

.status-badge-rejected {
    background-color: #dc3545;
}

/* Table enhancements */
.table-expense-items tbody tr:hover {
    background-color: rgba(0,123,255,0.05);
}

/* Form enhancements */
.required-field::after {
    content: " *";
    color: #dc3545;
}

.amount-input-group .input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}