/* ===================================
   INPUT BORDERS FIX - SITE-WIDE
   =================================== */

/* All Form Inputs - Make borders clearly visible */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
textarea,
select {
    border: 2px solid #c0c0c0 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.938rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

/* Focus State */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #4A90E2 !important;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15) !important;
    outline: none !important;
}

/* Form Control Classes */
.form-control,
.form-control-modern {
    border: 2px solid #c0c0c0 !important;
    border-radius: 8px !important;
}

.form-control:focus,
.form-control-modern:focus {
    border-color: #4A90E2 !important;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15) !important;
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #999 !important;
}

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.875rem center !important;
    background-size: 16px !important;
    padding-right: 2.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Modal specific fixes */
.modal input,
.modal textarea,
.modal select,
.modern-modal input,
.modern-modal textarea,
.modern-modal select {
    border: 2px solid #c0c0c0 !important;
}

/* Disabled inputs */
input:disabled,
textarea:disabled,
select:disabled {
    background: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}
