/* Global styles */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
.search-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}
.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6B7280;
}
.modal-content {
    max-height: 85vh;
    margin: 2vh auto;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
}
.modal-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}
.modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    z-index: 10;
}
.square-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}
.square-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 640px) {
    .modal-content {
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .search-container {
        max-width: none;
        margin: 0.5rem 0;
    }
    
    .modal-scroll {
        padding: 0.75rem;
    }
}
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 200ms ease-in;
}

.fade-exit {
    opacity: 1;
}

.fade-exit-active {
    opacity: 0;
    transition: opacity 200ms ease-in;
}
