/* Ensure the form doesn't break the layout when it appears */
.inquiry-form-container {
    display: none;
    background: black;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: left;
    box-sizing: border-box; /* Prevents width from overflowing */
}
.inquiry-form-container textarea, .inquiry-form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: black;
    color: #fff;
    font-family: 'Pretendard-Regular';
}
.send-btn {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
        transition: all 0.2s;
}
.send-btn:hover { background: rgb(184, 0, 0); }

/* Fix the button appearance */
button.v-gallery-txt-buy {
    border: none;
    line-height: normal; /* Fixes vertical alignment issues */
    padding: 15px 25px;   /* Standardizes size */
    width: auto;
    display: inline-block;
}



/* Style the labels for better readability */
.inquiry-form-container label {
    display: block;
    margin-bottom: 7px;
    margin-left: 3px;
    font-weight: bold;
    font-family: 'Pretendard-Black'
}

/* Styling for the Close button */
.close-inquiry-btn {
    background: black;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.2s;
}

input, textarea, button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    resize: none !important;
}

.close-inquiry-btn:hover {
    background: rgb(124, 0, 0);
}

/* Ensure the horizontal description doesn't look cramped */
.h-gallery-txt-description {
    line-height: 1.6;
    margin-bottom: 20px;
}

#inquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
z-index: 999998000000;

    display: none;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity 0.25s ease;
}

#inquiry-overlay.active {
    opacity: 1;
}

#inquiry-overlay.active #inquiry-tab {
    transform: scale(1);
    opacity: 1;
}

#inquiry-tab {
    background: rgb(51, 0, 0);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 420px;
    z-index: 999999000000;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
        display: block; /* override inline toggling */
}

