/* ========================================
   Enhanced Global Form Styling
   Additional improvements for consistency
   ======================================== */

/* Enhanced focus states with smooth transitions */
.form-control:focus,
input:not(.no-modern):focus,
select:not(.no-modern):focus,
textarea:not(.no-modern):focus {
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 4px var(--primary-100), 0 2px 8px rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-1px);
}

/* Improved hover states */
.form-control:hover:not(:focus):not(:disabled),
input:not(.no-modern):hover:not(:focus):not(:disabled),
select:not(.no-modern):hover:not(:focus):not(:disabled),
textarea:not(.no-modern):hover:not(:focus):not(:disabled) {
    border-color: var(--primary-300);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Better shadows for all form controls */
.form-control,
input:not(.no-modern),
select:not(.no-modern),
textarea:not(.no-modern) {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-width: 1.5px;
}

/* Improved placeholder styling */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    font-style: italic;
    opacity: 0.65;
}

/* Better cursor for select dropdowns */
select.form-control,
select:not(.no-modern) {
    cursor: pointer;
}

/* Smooth transitions for all form elements */
.form-control,
input:not(.no-modern),
select:not(.no-modern),
textarea:not(.no-modern),
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}