/* Professional Consultation Form Styles */

/* Container and Layout */
.container {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Card Styles */
.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    border-bottom: none;
}

/* Form Controls */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    transform: translateY(-1px);
}

/* Input Groups */
.input-group-text {
    border: 2px solid #e9ecef;
    border-right: none;
    background-color: #f8f9fa;
    color: #6c757d;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.input-group:focus-within .input-group-text {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Form Labels and Text */
.form-label {
    color: #495057;
    margin-bottom: 8px;
}

.text-primary {
    color: #0d6efd !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 8px;
}

/* Error Messages */
.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        margin-top: 1rem !important;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}