/* Modal overlay */
.wc-crm-modal { display: none; position: fixed; inset: 0; z-index: 99999; justify-content: center; background: rgba(12,12,12,0.58); padding: 20px; }

/* When open, JS adds the class 'open' (we rely on that) */
.wc-crm-modal.open { display: flex; }

/* Prevent page scroll when modal open */
body.wc-crm-modal-open { overflow: hidden; }

/* Modal inner */
.wc-crm-modal-inner { width: 100%; max-width: 820px; background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); position: relative; padding: 20px; overflow-y: scroll; }
#join_us #signup_form select { display: flex !important; align-items: center !important; }
#join_us #signup_form .iti--allow-dropdown { padding: 0px 25px !important; }
#join_us #signup_form #gform_submit_button_34 { background: #0A747B !important; color: #fff; border-radius: 100px; font-size: 16px; line-height: 21.28px; font-weight: 600; }

/* Close button */
.wc-crm-modal-close { position: absolute; right: 4%; top: 6%; z-index: 9999999; background: transparent; border: none; font-size: 22px; cursor: pointer; color: #fff; }
.wc-crm-modal-close:hover { background: none; border: none; }

/* Content container */
.wc-crm-modal-content { outline: none; max-height: calc(100vh - 80px); overflow-y: auto; overflow-x: hidden;}

/* Row */
.wc-crm-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.wc-crm-row-btn { display: flex; align-items: left; gap: 10px; margin-top: 12px; }
#precheck_btn { padding: 10px 40px; }
.wc-crm-row label { font-weight: 600; font-size: 13px; color: #333; }
.wc-crm-row input, .wc-crm-row textarea { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; width: 100%; box-sizing: border-box; }
.wc-crm-row textarea { min-height: 80px; resize: vertical; }

/* Buttons */
.wc-crm-btn { display:inline-block; border: none; cursor: pointer; padding: 10px 14px; border-radius: 6px; font-weight: 600; font-size: 14px; }
.wc-crm-btn--primary { background: #0A747B !important; color: #fff; border-radius: 100px; font-size: 16px; line-height: 21.28px; font-weight: 600; margin-bottom: 10px; }
.wc-crm-btn--primary:hover { background: #0A747B !important; }
.wc-crm-btn--secondary { background: #0A747B !important; color: #fff; border-radius: 100px; font-size: 16px; line-height: 21.28px; font-weight: 600;}
.wc-crm-btn--secondary:hover { background: #0A747B !important; color: #fff;}

/* Messages */
.wc-crm-error { color: #b82222; margin-top: 6px; }
.wc-crm-success { color: #1b8a3e; margin-top: 6px; }
.wc-crm-info { color: #333; margin-top: 6px; margin-bottom: 0px; }

/* Buttons on Cart page: spacing */
.wc-crm-actions { margin-bottom: 20px; }
.wc-crm-actions .wc-crm-btn { margin-right: 8px; }

/* Signup modal layout */
.wc-crm-signup-modal { display: flex; background: linear-gradient(97.75deg, #B73E42 0%, #0A767C 103.56%); border-radius: 4px !important; flex-direction: row; gap: 20px; padding: 20px; }
.wc-crm-modal-left-div { display: flex; width: 50%; background: #fff; flex-direction: column; align-items: center; justify-content: center; }
.wc-crm-modal-right-div { width: 50%; }
.wc-crm-signup-form-title { padding-bottom: 20px; }
.wc-crm-signup-form-title h2 {  color: #fff; }
.wc-crm-signup-form { background: #fff; padding: 20px; border-radius: 8px; }
.wc-crm-modal-main-div { width: 100%; }

/* Cart Actions Highlight & Checkout Notice Styles */
.wc-crm-checkout-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

/* Login/Signup Choice Modal */
#wc-crm-choice-wrap {
    height: 100%;
}

.wc-crm-choice-container {
    display: flex;
    text-align: center;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    background-image: linear-gradient(97.75deg, #B73E42 0%, #0A767C 100%);
    border-radius: 4px;
    align-items: center;
    height: 100%;
}

.wc-crm-choice-container h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 24px;
}

.wc-crm-choice-container p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 16px;
}

.wc-crm-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.wc-crm-choice-buttons .wc-crm-btn {
    width: 100%;
    max-width: 300px;
}