

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.modal-nav-bar-left {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

span.modal-window-title {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    background: var(--themed-gradient);
    box-shadow: 1px 1px 5px 1px rgba(128, 128, 128, 0.2);
}


.cl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: block;
    overflow: hidden;
}

.cl-modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    max-height: 90%;
    overflow-y: auto;
    transition: height 0.3s ease, width 0.3s ease;
}

.cl-modal-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.cl-modalmanager-navbar-title {
	width: 100%;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: bold;
	background-color: white;
	box-shadow: 1px 1px 5px 1px rgba(128, 128, 128, 0.2);
	color: black;
	font-family: system-ui;
}

.cl-modal-navbar-left {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #000000;
}


.cl-modal-window-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: -webkit-fill-available;
    margin: 20px;
}

#cl-stripe-form {
    width: 100%;
}

#cl-stripe-paymentsubmit {
    width: 100%;
    height: 45px;
    font-size: 17px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    background-color: black;
    color: white;
    border: 1px solid black;
    transition: background-color 0.3s, color 0.3s;
}


#cl-stripe-paymentsubmit:hover {
    background-color: white;
    color: black;
}



@media (max-width: 1000px) {
    .checkout-button {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .cl-modal-window {
        width: 100%;
        height: 100vh;
        max-height: unset;
        border-radius: 0;
    }
}


