/* Voxel Advanced Claim — launcher (inline) + fullscreen modal flow */
.vac { font-family: inherit; }
.vac-box { color: inherit; }
.vac-h { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.25; color: #1c1d20; }
.vac-sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #6b6f7a; }

/* inputs */
.vac-input {
	width: 100%; box-sizing: border-box;
	padding: 12px 14px; margin: 0 0 12px;
	border: 1px solid #d4d6dd; border-radius: 10px;
	background: #fff; color: #1c1d20; font-family: inherit; font-size: 15px;
	outline: none; transition: border-color .15s, box-shadow .15s;
}
.vac-input:focus { border-color: #9aa0ab; }
.vac-code { text-align: center; letter-spacing: .3em; font-size: 20px; font-weight: 600; }
.vac-code::placeholder { letter-spacing: normal; font-weight: 400; }
.vac-label { display: block; font-size: 12.5px; font-weight: 600; color: #6b6f7a; margin: 4px 0 6px; }

/* magnifier icon for the trigger + the modal keyword input */
.vac-input--search {
	padding-left: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239aa0ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 15px center;
	background-size: 18px 18px;
}

/* launcher: the inline "fake" search box that opens the modal */
.vac-launcher { margin: 0; cursor: pointer; caret-color: transparent; }
.vac-launcher::-webkit-search-decoration,
.vac-launcher::-webkit-search-cancel-button { display: none; }
.vac-launch-card { margin: 0; }

/* search field inside the modal */
.vac-field { margin: 0 0 12px; }
.vac-field .vac-input { margin-bottom: 0; }

/* results — a plain scrolling list; the modal body handles overflow */
.vac-results { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.vac-loading, .vac-empty { padding: 12px 4px; font-size: 14px; color: #6b6f7a; }
.vac-item {
	display: flex; align-items: center; gap: 12px;
	padding: 10px; border: 1px solid #eceded; border-radius: 12px;
	transition: border-color .15s, background .15s;
}
.vac-item:hover { border-color: #d4d6dd; background: #fafafb; }
.vac-logo {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 9px; overflow: hidden;
	background: #f1f2f4; color: #9aa0ab;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
	text-decoration: none;
}
.vac-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vac-item-main { flex: 1 1 auto; min-width: 0; }
.vac-item-title { display: block; font-size: 15px; font-weight: 600; color: #1c1d20; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vac-badge { display: inline-block; margin-top: 3px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.vac-badge--claimed { background: #eef1ee; color: #4a7a52; }
.vac-item-act { flex: 0 0 auto; }
.vac-addnew {
	display: block; margin-top: 8px; padding: 11px 12px; text-align: center;
	border: 1px dashed #cfd2d8; border-radius: 10px;
	font-size: 13.5px; font-weight: 600; color: #1c1d20; text-decoration: none;
}
.vac-addnew:hover { border-color: #1c1d20; background: #fafafb; }

/* buttons */
.vac-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100%; box-sizing: border-box; padding: 12px 16px;
	border: 0; border-radius: 10px; cursor: pointer;
	background: #1c1d20; color: #fff; font-family: inherit; font-size: 15px; font-weight: 600;
	text-decoration: none; transition: background .15s;
}
.vac-btn:hover { background: #000; }
.vac-btn-sm { width: auto; padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.vac-btn[disabled] { opacity: .7; pointer-events: none; }
.vac-btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.vac-btn.is-loading::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
	border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
	animation: vac-spin .6s linear infinite;
}
@keyframes vac-spin { to { transform: rotate(360deg); } }

/* verify */
.vac-vhead { margin: 0 0 8px; }
.vac-back {
	border: 0; background: transparent; cursor: pointer; padding: 4px 0;
	font-family: inherit; font-size: 13px; font-weight: 600; color: #6b6f7a;
}
.vac-back:hover { color: #1c1d20; }
/* verify · step 1: pick how to receive the code */
.vac-methods { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 2px; }
.vac-method {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; box-sizing: border-box; cursor: pointer; text-align: left;
	padding: 15px 16px; border: 1px solid #e0e2e7; border-radius: 12px;
	background: #fff; color: #1c1d20; font-family: inherit;
	transition: border-color .15s, background .15s;
}
.vac-method:hover { border-color: #1c1d20; background: #fafafb; }
.vac-method-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vac-method-kind { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #6b6f7a; }
.vac-method-val { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vac-method-ch { flex: 0 0 auto; font-size: 26px; line-height: 1; color: #b0b4bd; }

/* plans (as buttons, not a dropdown) */
.vac-plans { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 4px; }
.vac-plan-btn {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; box-sizing: border-box; text-align: left; cursor: pointer;
	padding: 14px 16px; border: 1px solid #d4d6dd; border-radius: 10px;
	background: #fff; color: #1c1d20; font-family: inherit;
	transition: border-color .15s, background .15s;
}
.vac-plan-btn:hover { border-color: #1c1d20; background: #fafafb; }
.vac-plan-btn[disabled] { cursor: default; opacity: .6; }
.vac-plan-label { font-size: 15px; font-weight: 600; }
.vac-plan-btn.is-loading { color: transparent !important; pointer-events: none; }
.vac-plan-btn.is-loading::after {
	content: ""; position: absolute; top: 50%; right: 16px; width: 16px; height: 16px; margin-top: -8px;
	border: 2px solid rgba(28,29,32,.25); border-top-color: #1c1d20; border-radius: 50%;
	animation: vac-spin .6s linear infinite;
}

.vac-msg { margin-top: 12px; font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 8px; }
.vac-msg--err { color: #b32d2e; background: #fdf2f2; border: 1px solid #f3d6d6; }

.vac-success-ic {
	width: 54px; height: 54px; margin: 4px auto 12px; border-radius: 50%;
	background: #eaf6ec; color: #3ba05a; font-size: 28px;
	display: flex; align-items: center; justify-content: center;
}
.vac-box[data-view="done"] { text-align: center; }

/* ---------------------------- fullscreen modal --------------------------- */
body.vac-modal-open { overflow: hidden; }
.vac-overlay {
	position: fixed; inset: 0; z-index: 100000;
	display: none; align-items: center; justify-content: center;
	padding: 40px 24px; background: rgba(9,10,12,.74);
	-webkit-backdrop-filter: blur(7px) saturate(.9); backdrop-filter: blur(7px) saturate(.9);
}
.vac-overlay.is-open { display: flex; animation: vac-fade .18s ease; }
.vac-panel {
	position: relative; box-sizing: border-box;
	width: 100%; max-width: 640px; max-height: min(88vh, 760px);
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border-radius: 18px;
	box-shadow: 0 30px 90px rgba(0,0,0,.45);
	animation: vac-pop .2s cubic-bezier(.2,.8,.2,1);
}
.vac-panel-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px 36px 36px; }

/* search: a sticky header (title + subtitle + input) pinned while results
   scroll under it. Top padding is 0 on this view so the header hugs the panel
   top; it carries an opaque background so results slide cleanly beneath it. */
.vac-box[data-view="search"] { padding-top: 0; }
.vac-box[data-view="search"] .vac-search-head {
	position: sticky; top: 0; z-index: 2;
	padding: 26px 0 14px; background: #fff;
}
.vac-box[data-view="search"] .vac-search-head .vac-h { margin-bottom: 5px; }
.vac-box[data-view="search"] .vac-search-head .vac-sub { margin-bottom: 16px; }
.vac-box[data-view="search"] .vac-field { margin: 0; }
.vac-box[data-view="search"] .vac-input { margin: 0; }

/* close: sits outside the panel, over the backdrop (top-right of the viewport) */
.vac-close {
	position: absolute; top: 20px; right: 24px; z-index: 3;
	width: 40px; height: 40px; padding: 0; border: 0; background: transparent;
	display: flex; align-items: center; justify-content: center;
	color: #9aa0ab; cursor: pointer; font-size: 30px; line-height: 1;
	transition: opacity .15s, transform .15s;
}
.vac-close:hover { opacity: .6; transform: scale(1.05); }
@keyframes vac-fade { from { opacity: 0; } }
@keyframes vac-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
	.vac-overlay.is-open, .vac-panel { animation: none; }
}
@media (max-width: 600px) {
	.vac-overlay { padding: 0; }
	.vac-panel { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; }
	.vac-panel-body { padding: 60px 20px 32px; }
	/* close sits over the panel on mobile — push content clear of it */
	.vac-box[data-view="search"] .vac-search-head { padding-top: 56px; }
	.vac-close { top: 12px; right: 14px; }
}

/* ------------------------------- dark mode ------------------------------- */
@media (prefers-color-scheme: dark) {
	.vac-box { color: inherit; }
	.vac-h { color: #f6f6f8; }
	.vac-sub, .vac-loading, .vac-empty, .vac-label, .vac-back { color: #a4a7b0; }
	.vac-input { background: #26272b; border-color: #3a3b40; color: #f3f3f5; }
	.vac-input:focus { border-color: #f3f3f5; box-shadow: 0 0 0 3px rgba(243,243,245,.12); }
	.vac-item { border-color: #303136; }
	.vac-item:hover { border-color: #3a3b40; background: #232429; }
	.vac-item-title { color: #f3f3f5; }
	.vac-logo { background: #2a2b30; color: #8b8e97; }
	.vac-badge--claimed { background: #24302a; color: #7bc98c; }
	.vac-addnew { border-color: #3a3b40; color: #f3f3f5; }
	.vac-addnew:hover { border-color: #f3f3f5; background: #232429; }
	.vac-btn { background: #f3f3f5; color: #1c1d20; }
	.vac-btn:hover { background: #fff; }
	.vac-btn.is-loading::after { border-color: rgba(28,29,32,.3); border-top-color: #1c1d20; }
	.vac-method { background: #26272b; border-color: #3a3b40; color: #f3f3f5; }
	.vac-method:hover { border-color: #f3f3f5; background: #232429; }
	.vac-method-kind { color: #a4a7b0; }
	.vac-method-ch { color: #6b6f72; }
	.vac-plan-btn { background: #26272b; border-color: #3a3b40; color: #f3f3f5; }
	.vac-plan-btn:hover { border-color: #f3f3f5; background: #232429; }
	.vac-plan-btn.is-loading::after { border-color: rgba(243,243,245,.3); border-top-color: #f3f3f5; }
	.vac-msg--err { color: #f2a6ae; background: #2a1c1f; border-color: #4a2a2f; }
	.vac-success-ic { background: #1e2a20; color: #7bc98c; }
	.vac-panel { background: #1b1c1f; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
	.vac-box[data-view="search"] .vac-search-head { background: #1b1c1f; }
}
