/* vOps - Custom Styles */

/* Smooth transitions for sidebar */
.sidebar-link {
    transition: all 0.15s ease-in-out;
}

/* Print styles for invoices */
@media print {
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    body {
        background: white;
    }
}

/* Calendar cell minimum height */
.calendar-cell {
    min-height: 100px;
}

/* Event pills in calendar */
.event-pill {
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 1px 4px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* Map container styles */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 0.5rem;
    z-index: 0;
}

/* Hide Leaflet attribution watermark */
.leaflet-control-attribution {
    display: none !important;
}

/* Form input focus rings */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Table row hover */
.table-row-hover:hover {
    background-color: #f9fafb;
}

/* Status pulse animation for active items */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Loading spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
