/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Se cambia height por min-height para mayor flexibilidad */
    padding: 20px;
}

#toast-container {
    position: fixed;
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.toast {
    padding: 12px 24px;
    margin: 8px;
    border-radius: 4px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.toast.success {
    background-color: #4CAF50; /* Verde claro */
    position: fixed;
    bottom: 20px; /* Posición en la parte inferior */
}

.toast.error {
    background-color: #F44336; /* Rojo opaco */
    position: fixed;
    top: 20px; /* Posición en la parte superior */
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

.red-link a {
    color: #f1685a !important;
    display: inline !important;
    text-align: center !important;
    margin: 0 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.d-none {
    display: none;
}

#not-found-view {
    color: #425965;
    text-align: center;
    font-family: "Nunito Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 128.2%;
    display: flex;
    flex-direction: column;

    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    max-width: 700px;
    margin: 0 auto;
}

#not-found-view .image-container img {
    width: 380px;
    height: 234px;
}

#not-found-view h2 {
    margin-top: 30px;
    color: #F1685A;
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.32px;
}

/* Skeleton styles */
.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f7f7f7 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 5px;
    height: 28px;
    width: 100%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 123, 255, 0.3);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}