/* Request Form Styles */
.request-form-container {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Form Sections */
.form-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-section h5 {
    color: #495057;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h5 i {
    color: #007bff;
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.required-field::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}

/* Form Controls */
.form-control,
.form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25);
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.file-upload-area.dragover {
    border-color: #007bff;
    background-color: #e3f2fd;
    transform: scale(1.02);
}

.file-upload-area i {
    color: #6c757d;
    margin-bottom: 1rem;
}

.file-upload-area h5 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.file-upload-area p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.file-upload-area .text-muted {
    font-size: 0.85rem;
}

/* File Preview */
.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.preview-file {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sidebar */
.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.sidebar-card .card-body {
    padding: 1.25rem;
}

.sidebar-card .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.sidebar-card .btn:hover {
    transform: translateY(-1px);
}

/* Form Help */
.form-help {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.form-help h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.form-help ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.form-help li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.form-help i {
    width: 16px;
    margin-right: 0.5rem;
}

/* Request Info */
.request-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.request-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.request-info strong {
    color: #495057;
}

/* Form Actions */
.form-actions {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    margin-top: 1.5rem;
}

.form-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.form-actions .btn:hover {
    transform: translateY(-1px);
}

/* Validation Messages */
.text-danger {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-section {
        padding: 1rem;
    }
    
    .file-upload-area {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .form-section h5 {
        font-size: 1.1rem;
    }
    
    .file-upload-area {
        padding: 1rem;
    }
    
    .file-upload-area h5 {
        font-size: 1rem;
    }
    
    .sidebar-card .card-body {
        padding: 1rem;
    }
}
