/*
    Must use --> docker-compose exec app php artisan filament:assets
*/
.custom-bg-green {
    background-color: rgba(0, 128, 0, 0.205);
}
.custom-bg-yellow {
    background-color: rgba(255, 255, 0, 0.205);
}
.custom-bg-red {
    background-color: rgba(255, 0, 0, 0.253);
}
.custom-bg-blue {
    background-color: rgba(0, 81, 255, 0.185);
}
.custom-bg-purple {
    background-color: rgba(218, 0, 218, 0.171);
}


.note-card {
    position: relative;
    background-color: #fef08a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 12px;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    overflow: visible;
    z-index: 1;
}

.note-card:hover {
    z-index: 10000;
}

.image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Ajusta la altura de la imagen */
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center center;
    z-index: 1;
}

.note-card:hover .image-container img {
    transform: scale(2.5);
    z-index: 3;
}

.image-container:hover img {
    opacity: 1;
    position: absolute;
    top: 10%;
    left: -50%;
    transform: translate(-50%, -50%) scale(2.5); /* Centra la imagen y la agranda */
    max-width: clamp(90vw, 90%, 95vw);
    max-height: clamp(90vh, 90%, 95vh);
    object-fit: contain;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.post-it-corner {
    background-color: #facc15;
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-top-right-radius: 6px;
}

.post-it-shadow {
    background-color: #facc15;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    transform: translate(5px, 5px);
    border-radius: 6px;
    opacity: 0.2;
}