/* .open-thelightbox-btn {
            padding: 10px 20px;
            border: none;
            background: #007bff;
            color: #fff;
            cursor: pointer;
            border-radius: 4px;
            margin: 40px;
        } */

/* Overlay */
.thelightbox-overlay {
    position: fixed;
    inset: 0;
    /* background: red; */
    /*rgba(0, 0, 0, 0.6); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.thelightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Full-screen content with 10px margin */
.thelightbox-content {
    background: #121212;
    /* width: calc(100% - 40px); */
    /* height: calc(100% - 135px); */
    /* margin: 40px; */
    width: 100%;
    height: 100%;
    padding: 40px;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
}

.thelightbox-overlay.active .thelightbox-content {
    opacity: 1;
    transform: scale(1);
}

/* Close button */
.thelightbox-close {
    position: absolute;
    top: 20px;
    left: 25px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    color: black;
    background-color: #d4af35;
    border-radius: 100px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 100
}

.thelightbox-close:hover {
    opacity: 0.5;
}

/* Form styling */
.thelightbox-form h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
}

.thelightbox-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.thelightbox-form input[type="text"],
.thelightbox-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
}

.thelightbox-form button[type="submit"] {
    padding: 10px 18px;
    border: none;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

.thelightbox-form button[type="submit"]:hover {
    background: #218838;
}