/* Hivve Top-up Calculator — base styles. Panel edits in Elementor always win (they use
   higher-specificity selectors). Hover/focus states are set explicitly so theme button
   styles (e.g. Hello Elementor's pink [type=button]:hover) can't leak in. */

.htu { background:#F5F8FE; border:1px solid #D7E3F3; border-radius:8px; box-shadow:0 4px 12px rgba(1,30,72,.10); padding:48px; display:flex; gap:48px; align-items:center; justify-content:space-between; font-family:inherit; color:#333333; box-sizing:border-box; width:100% }
.htu *, .htu *:before, .htu *:after { box-sizing:border-box }
.htu__left { flex:1 1 auto; min-width:0 }
.htu__label { font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#6B7A90; margin:0 0 16px }
.htu__sizes { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 20px }

.htu .htu__size { appearance:none; -webkit-appearance:none; display:inline-block; background:#fff; border:1px solid #013175; border-radius:2px; color:#013175; font-family:inherit; font-size:18px; font-weight:700; min-width:72px; padding:18px 12px; text-align:center; cursor:pointer; transition:background .15s ease, color .15s ease; line-height:1; text-transform:none; letter-spacing:normal; box-shadow:none }
.htu .htu__size:hover { background:#E8F0FB; color:#013175; border-color:#013175 }
.htu .htu__size:focus { background:#fff; color:#013175; outline:none }
.htu .htu__size:focus-visible { outline:2px solid #0073E6; outline-offset:2px }
.htu .htu__size.is-selected, .htu .htu__size.is-selected:hover, .htu .htu__size.is-selected:focus { background:#013175; color:#fff; border-color:#013175 }

.htu__note { font-size:15px; color:#333333; margin:0; line-height:1.5 }
.htu__note--secondary { margin-top:18px }

.htu__right { flex:0 0 auto; width:300px; border-left:1px solid #D7E3F3; padding-left:48px }
.htu__total-label { font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#6B7A90; margin:0 0 8px }
.htu__total { font-size:44px; font-weight:800; color:#013175; margin:0 0 6px; line-height:1.1 }
.htu__breakdown { font-size:15px; font-weight:600; color:#013175; margin:0 0 24px }
.htu__above-btn { font-size:14px; color:#6B7A90; margin:-12px 0 16px }

.htu .htu__btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; background:#0073E6; color:#fff; font-size:16px; font-weight:700; text-decoration:none; padding:16px 24px; border-radius:2px; transition:background .15s ease; border:0; cursor:pointer; font-family:inherit; line-height:1.2; text-transform:none; letter-spacing:normal; box-shadow:none }
.htu .htu__btn:hover, .htu .htu__btn:active { background:#0061C2; color:#fff; text-decoration:none }
.htu .htu__btn:focus { background:#0073E6; color:#fff; text-decoration:none; outline:none }
.htu .htu__btn:focus:hover { background:#0061C2 }
.htu .htu__btn:focus-visible { outline:2px solid #013175; outline-offset:2px }
.htu .htu__btn svg { flex:0 0 auto }

@media (max-width:860px) {
	.htu { flex-direction:column; align-items:stretch; padding:28px; gap:28px }
	.htu__right { width:100%; border-left:0; border-top:1px solid #D7E3F3; padding-left:0; padding-top:28px }
	.htu .htu__size { min-width:60px; padding:14px 10px; font-size:16px }
	.htu__total { font-size:36px }
}

/* Popup form */
.htu-modal { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:24px; box-sizing:border-box }
.htu-modal[hidden] { display:none }
.htu-modal__overlay { position:absolute; inset:0; background:rgba(1,30,72,.55); cursor:pointer }
.htu-modal__panel { position:relative; background:#fff; width:100%; max-width:720px; max-height:90vh; border-radius:8px; box-shadow:0 20px 60px rgba(1,30,72,.30); overflow:hidden; display:flex; flex-direction:column }
.htu-modal__close { position:absolute; top:10px; right:12px; z-index:1; width:34px; height:34px; border:0; background:#F5F8FE; border-radius:999px; font-size:22px; line-height:1; color:#333333; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0 }
.htu-modal__close:hover { background:#EAF0FA; color:#333333 }
.htu-modal__iframe { width:100%; height:80vh; max-height:820px; border:0; display:block }
body.htu-modal-open { overflow:hidden }
@media (max-width:680px) {
	.htu-modal { padding:0 }
	.htu-modal__panel { max-width:100%; max-height:100%; height:100%; border-radius:0 }
	.htu-modal__iframe { height:100%; max-height:none; flex:1 }
}
