/* filepath: [clover.css](http://_vscodecontentref_/1) */

/* Modal container */
#divCloverPopup {
    position: fixed;
    left: 50%;
    top: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 680px;
	 height: auto;
	max-height: 95vh;
	overflow-y: auto;
    /*min-width: 780px;
    max-width: 98vw;
    width: 420px;
    margin-left: -380px !important;
    margin-top: -325px  !important;*/
    z-index: 2;
    font-family: 'Arial', 'Verdana', sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-radius: 8px;
    background: #fff;
}



/* Modal inner content */
.CloverPopupInner {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-color: #cfcfcf #ebebeb #ebebeb #cfcfcf;
    padding: 24px 28px;
    border-radius: 6px;
}

/* Section titles */
.CloverSectionTitle {
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Field rows */
.CloverFieldRow {
    display: flex;
    gap: 16px;
    margin-bottom: 6px;
}

/* Field columns */
.CloverFieldCol {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Input fields */
.CloverPopupInner .field {
    border: none;
    /* border-bottom: 2px solid #ccc; */
    padding: 8px 0;
    font-size: 1em;
    background: transparent;
    margin-bottom: 10px;
}

@media (max-width: 450px) {
	.CloverFieldRow {
		display: block !important;
	}
	.CloverFieldCol {
		width: 100% !important;
		margin-bottom: 15px;
		padding: 0 !important;
	}	
	.field {
		width: 100% !important;
		box-sizing: border-box;
	}	
	.CloverPopupInner {
		padding: 10px;
	}
}

/* Input errors */
.input-errors {
    color: #d32f2f;
    font-size: 0.9em;
    min-height: 18px;
}

/* Button container */
.CloverButtonContainer {
    margin-top: 18px;
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* Pay button */
.CloverPayButton {
    min-width: 110px;
    font-size: 1em;
    border-radius: 5px;
    background: #228800;
    color: #eee !important;
    border: none;
    box-shadow: 0 2px 8px rgba(124,77,255,0.08);
    transition: background 0.2s, color 0.2s;
}

.CloverPayButton:hover {
     background: #349f11;
}

/* Cancel button */
.CloverCancelButton {
    min-width: 110px;
    font-size: 1em;
    border-radius: 5px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(124,77,255,0.08);
    transition: background 0.2s, color 0.2s;
}

.CloverCancelButton:hover {
    background: #eee;
    color: #222;
}

/* Order summary */
.CloverOrderSummary {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.CloverOrderDetails {
    margin-bottom: 10px;
    font-size: 1em;
    color: #333;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 18px 0;
}


/* Force Clover iframes to a fixed height */
.CloverPopupInner .field iframe {
    height: 24px !important;
    min-height: 0 !important;
    max-height: 24px !important;
    width: 100% !important;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
}

.CloverPopupTop {
  display: flex;
  justify-content: end;
}

.CloverPopupClose {
  margin: 2px 10px;
  cursor: pointer;
}


#card-holder-name {
    height: 24px !important;
    color: black !important;
    border: none;
    padding: 0;
    margin: 8px;
    font-size: 15px;
}