/* Overlay styling */
#customer-details-capture-pop-up-overlay {
    z-index:10;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: customer-details-capture-pop-up-fadeInOverlay 0.5s forwards;
}

/* Popup box styling */
#customer-details-capture-pop-up-popup {
    z-index:10;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    animation: customer-details-capture-pop-up-fadeInPopup 0.5s forwards 0.3s;
}

.cancel {
    z-index:10;
	text-align:right;
	margin-top:0px;
	margin-bottom:0px;
	text-decoration:none;
	color:black;
}

#customer-details-capture-pop-up-emailInput,
#customer-details-capture-pop-up-submitEmail,
#customer-details-capture-pop-up-popup {
    z-index:10;
    font-family: Helvetica, sans-serif;
    font-weight: 200;
    margin: 10px;
}

#customer-details-capture-pop-up-emailInput {
    padding: 8px;
    width: 300px;
}

#customer-details-capture-pop-up-submitEmail {
    padding: 8px 16px;
    background-color: orangered;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#customer-details-capture-pop-up-submitEmail:hover {
    background-color: orangered;
}

/* Fade-in keyframes for overlay and popup */
@keyframes customer-details-capture-pop-up-fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes customer-details-capture-pop-up-fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes customer-details-capture-pop-up-fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}