/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar customization */
.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-brand i {
    margin-right: 5px;
}

/* Footer styles */
.footer {
    margin-top: 3rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

/* Common form styles */
.form-control {
    border-radius: 4px;
    padding: 10px 12px;
    height: auto;
}

.btn {
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Flash message styling */
.alert {
    border-radius: 4px;
    border-left-width: 4px;
}

.alert-info {
    border-left-color: #0dcaf0;
}

.alert-success {
    border-left-color: #198754;
}

.alert-warning {
    border-left-color: #ffc107;
}

.alert-error, .alert-danger {
    border-left-color: #dc3545;
}

/* Card styling */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.card-body {
    padding: 20px;
}

/* Help text and small elements */
.text-muted {
    color: #6c757d !important;
}

.small, small {
    font-size: 85%;
}

/* Modal customizations */
.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.user-result-item {
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
}

.user-result-item:hover {
    background-color: #f8f9fa;
}

.user-result-item.selected {
    background-color: #e9ecef;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
