:root {
    --border-light: #dee2e6;
    --shadow-hover: rgba(0, 0, 0, 0.08);
    --shadow-focus: rgba(0, 0, 0, 0.1);
    --bg-hover: rgba(0, 0, 0, 0.02);
}

/* === RICERCA === */
#at-search-input {
    transition: all 0.3s ease;
    font-weight: 550;
    

}

#at-search-input:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

#at-search-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-focus);
    border-color: var(--border-light) !important; 
    box-shadow: 0 4px 12px var(--shadow-hover)!important;
}

#at-search-input::placeholder {
    font-style: italic;
}

#at-search-input::-webkit-search-cancel-button {
    display: none;
}-

/* === CARD HOVER === */
.at-card-hover {
    cursor: pointer;
    transition: all 0.3s ease;
}

.at-card-hover:hover {
    transform: translateY(-4px);
}

.attachment-item-hover {
    cursor: pointer;
    transition: all 0.3s ease;
}

.attachment-item-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-focus);
}

.table-row-hover:hover {
    background-color: var(--bg-hover);
    transition: background-color 0.2s ease;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    #at-search-input {
       font-size: 16px;
    }
    
    .at-card-hover .card-body {
        padding: 1rem !important;
        min-height: 100px !important;
    }


}
