/* ========================================
   ADMIN COMMON - Stile Certificato-Energetico.it
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Utility Classes */
.cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cursor-pointer:hover {
    transform: scale(1.05);
}

.table-full-width {
    width: 100%;
}

.select-auto-width {
    width: auto;
}

.input-date-width {
    width: 160px;
}

.input-search-width {
    width: 200px;
}

/* Icon Sizing */
.icon-large {
    font-size: 20px;
}

.icon-medium {
    font-size: 16px;
}

/* Avatar Styling */
.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Modal Utilities */
.modal-show {
    display: block !important;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Text Utilities */
.text-large {
    font-size: 16px;
}

/* Table Headers Sortable */
.sortable-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.sortable-header:hover {
    background-color: var(--primary-50, #e8f5e9);
    color: var(--color-primary, #4caf50);
}

/* Loading States */
.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-50, #e8f5e9), var(--gray-50, #fafafa));
    border-radius: var(--radius-lg, 1rem);
    color: var(--gray-400, #bdbdbd);
    font-family: 'Inter', system-ui, sans-serif;
}

/* Alert Positioning */
.alert-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
} 