/* IMS CRM - Custom Styles */
@media print {
    .no-print { display: none !important; }
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    background-color: #ffffff;
    border: 1.5px solid #94a3b8;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover {
    border-color: #64748b;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 1px 2px rgba(15, 23, 42, 0.08);
    outline: none;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])::placeholder,
textarea::placeholder {
    color: #64748b;
}

/* Loading spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
