/* Custom styles for Taxi Management System */

body {
    background-color: #f8f9fa;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
}

.form-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Mobile styles */
@media (max-width: 767px) {
    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-small-text {
        font-size: 0.9rem !important;
    }

    .mobile-small-padding {
        padding: 0.5rem !important;
    }

    .table-responsive td, 
    .table-responsive th {
        font-size: 0.875rem;
        padding: 0.5rem !important;
    }
    
    .action-buttons .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Custom styles for trip form */
.trip-form .form-group {
    margin-bottom: 15px;
}

.trip-form label {
    font-weight: 500;
}

.custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Employee search styles */
.employee-search-result {
    position: relative;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.employee-search-result div {
    padding: 8px 10px;
    cursor: pointer;
}

.employee-search-result div:hover {
    background-color: #f1f1f1;
}

/* Progress bar for uploads */
.progress {
    height: 20px;
    margin-bottom: 15px;
}

/* Preview image container */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ddd;
    padding: 3px;
}