/* Spinner Loading - itech */
.itech-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.itech-spinner-container {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.itech-spinner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: itechSpin 2s linear infinite;
}

.itech-spinner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.itech-spinner-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    margin: 0;
    letter-spacing: 0.5px;
}

.itech-spinner-subtext {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0.5rem 0 0;
}

/* Animación de rotación suave */
@keyframes itechSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Animación de pulso para el contenedor */
.itech-spinner-container {
    animation: itechPulse 3s ease-in-out infinite;
}

@keyframes itechPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15); }
}

/* Responsive */
@media (max-width: 768px) {
    .itech-spinner-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .itech-spinner-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .itech-spinner-text {
        font-size: 1rem;
    }
    
    .itech-spinner-subtext {
        font-size: 0.85rem;
    }
}

/* Estados de entrada y salida */
.itech-spinner-overlay.show {
    animation: itechFadeIn 0.3s ease-out;
}

.itech-spinner-overlay.hide {
    animation: itechFadeOut 0.3s ease-out;
}

@keyframes itechFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes itechFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}