/* Gamer Store: quotes (forms + My Account list). Uses the base variables from gsx-base.css. */

/* Premium card */
.gsx-quote--premium {
	background: linear-gradient(160deg, #17142c, #2a1f5c); color: #f4f4f8;
	border: 1px solid var(--gsx-amber, #e8b84a); border-radius: 20px; padding: 24px;
	display: flex; flex-direction: column; gap: 14px;
}
.gsx-quote__tag {
	align-self: flex-start; background: var(--gsx-amber, #e8b84a); color: var(--gsx-on-amber, #2a1d00);
	font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px;
}
.gsx-quote__heading { margin: 0; font-family: 'Sora', inherit; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: inherit; }
.gsx-quote__lead { margin: 0; opacity: .85; line-height: 1.55; }
.gsx-quote--premium .gsx-field label { color: #f4f4f8; }
.gsx-quote--login { text-align: left; }
.gsx-quote--login.gsx-quote--custom { background: var(--gsx-surface); border: 1px dashed var(--gsx-border); border-radius: 20px; padding: 18px 20px; }
.gsx-quote--login.gsx-quote--custom .gsx-quote__lead { color: var(--gsx-muted); opacity: 1; }
.gsx-quote--login .gsx-quote__lead { margin-bottom: 12px; }

.gsx-quote__checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.gsx-quote__checks li { display: flex; gap: 10px; align-items: center; }
.gsx-quote__checks li::before {
	content: ""; flex: 0 0 18px; height: 18px; background: var(--gsx-mint, #12b886);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Custom box */
.gsx-quote--custom:not(.gsx-quote--login) { background: var(--gsx-surface); border: 1px dashed var(--gsx-border); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.gsx-quote__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gsx-quote__headtext { min-width: 0; flex: 1 1 220px; }
.gsx-quote__title { font-weight: 700; }
.gsx-quote__sub { color: var(--gsx-muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.gsx-quote__panel[hidden] { display: none; }

/* Form messages */
.gsx-quote__msg:empty { display: none; }
.gsx-quote__msg { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; margin: 0 0 14px; background: var(--gsx-surface2); color: var(--gsx-text); }
.gsx-quote__msg.is-ok { border-left: 4px solid var(--gsx-mint); }
.gsx-quote__msg.is-error { border-left: 4px solid var(--gsx-coral); }
.gsx-quote__msg a { color: var(--gsx-primary); font-weight: 700; }

/* My Account list */
.gsx-quotes { display: flex; flex-direction: column; gap: 16px; }
.gsx-quote-item__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.gsx-quote-item__title { margin: 0 0 2px; font-size: 18px; }
.gsx-quote-item__price { font-size: 24px; font-weight: 700; margin: 6px 0; }
.gsx-quote-item__msg { background: var(--gsx-surface2); border-radius: 14px; padding: 4px 16px; margin: 10px 0; }
.gsx-quote-item__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.gsx-quote-decline { margin: 0; }
.gsx-quote-item__chat { margin-top: 16px; border-top: 1px solid var(--gsx-border); padding-top: 12px; }
.gsx-quote-item__chat > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

.gsx-quote-status { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--gsx-surface2); color: var(--gsx-text); }
.gsx-quote-status--new { background: var(--gsx-primary); color: var(--gsx-on-primary); }
.gsx-quote-status--quoted { background: var(--gsx-amber); color: var(--gsx-on-amber); }
.gsx-quote-status--paid { background: var(--gsx-mint); color: var(--gsx-on-mint); }
.gsx-quote-status--declined { background: var(--gsx-coral); color: var(--gsx-on-coral); }

@media (max-width: 480px) {
	.gsx-quote--premium { padding: 18px; }
	.gsx-quote__heading { font-size: 22px; }
}
