/* Signup steps for a new Mumble server. Sits on top of mumble.css. */

.topbar-name { color: #fff; font: 700 16px var(--display); letter-spacing: .04em; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
.create-account-link { margin-left: auto; color: #fff; font: 700 16px var(--display); text-transform: uppercase; text-decoration: none; }

.create-hero { min-height: 60vh; }
.create-grid { align-items: start; padding-top: clamp(32px, 5vw, 60px); padding-bottom: clamp(44px, 6vw, 76px); }
.create-main h1 { font-size: clamp(40px, 5vw, 66px); }

.create-panel { display: grid; gap: 18px; padding: 22px; border: 1px solid rgba(190, 236, 255, .46); border-radius: 8px; background: linear-gradient(180deg, rgba(180, 232, 255, .3), rgba(2, 44, 98, .66) 34%, rgba(2, 36, 84, .78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 36px rgba(0, 18, 52, .35); }
.create-panel + .create-panel { margin-top: 18px; }
.create-field { display: block; min-width: 0; margin: 0; }
.create-input, .create-panel select { display: block; width: 100%; height: 50px; padding: 0 12px; border: 1px solid #022a5a; border-radius: 5px; background: #fff; color: #06283f; font: 500 17px var(--body); box-shadow: inset 0 2px 4px rgba(2, 40, 80, .24); }
.create-input:focus, .create-panel select:focus { outline: 2px solid var(--neon); outline-offset: 1px; }
.create-host-input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; padding: 0; background: transparent; color: inherit; font: inherit; }
.create-hint { margin: 6px 0 0 2px; font-size: 15px; color: var(--ice); }
.create-hint:empty { display: none; }
.create-hint.is-bad { color: #ffc2c8; font-weight: 600; }
.create-hint.is-good { color: var(--neon-hi); font-weight: 600; }
.create-signed-in { margin: 0; font-size: 16px; color: var(--ice); }

.create-agree { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 16px; color: #f1faff; cursor: pointer; }
.create-agree input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--neon-lo); }
.create-agree a { color: #fff; font-weight: 600; }
#tos { max-height: 260px; overflow: auto; padding: 14px; border: 1px solid var(--line-strong); border-radius: 5px; background: #041a2c; font-size: 14px; color: var(--muted); }
#tos h1, #tos h2, #tos h3, #tos h4 { font-size: 18px; margin: 10px 0 6px; }

.create-panel h2 { margin: 0 0 5px 2px; font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.create-panel .section { background: none; border: 0; padding: 0; margin: 0; }
.create-panel ul.form { display: block; list-style: none; margin: 0; padding: 0; }
.create-panel ul.form li { margin: 0 0 8px; }
.create-panel ul.form label { display: block; margin: 0 0 5px 2px; font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.create-panel ul.form input[type=text] { width: 100%; max-width: 240px; height: 46px; padding: 0 12px; border: 1px solid #022a5a; border-radius: 5px; background: #fff; color: #06283f; font: 500 17px var(--mono); }
.create-panel .validation-error { margin-top: 8px; color: #ffc2c8; font-weight: 600; }

.create-go { justify-self: start; min-width: 220px; height: 54px; padding: 0 30px; font-size: 26px; cursor: pointer; }
.create-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #ff8a95; border-radius: 5px; background: #5c0d17; color: #fff; font-weight: 500; }
.create-notice { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 5px; background: rgba(2, 36, 84, .72); color: #fff; }
.create-note { margin: 14px 0 0 2px; font-size: 16px; color: #f1faff; text-shadow: 0 1px 3px rgba(1, 28, 70, .6); }
.create-note a, .create-sub-actions a { color: #fff; font-weight: 600; }

.create-code { max-width: 260px; height: 64px; padding: 0 12px; text-align: center; font: 500 32px var(--mono); letter-spacing: .24em; }
.create-sub-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 16px 0 0 2px; font-size: 16px; color: #f1faff; }
.create-sub-actions form { margin: 0; }
.create-link-button { padding: 0; border: 0; background: none; color: #fff; font: 600 16px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.create-steps { padding: 22px; }
.create-steps h3 { margin: 0 0 14px; }
.create-steps ol { list-style: none; display: grid; gap: 12px; counter-reset: step; }
.create-steps li { position: relative; padding-left: 40px; min-height: 28px; color: var(--muted); counter-increment: step; }
.create-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ice); font: 700 16px/26px var(--display); text-align: center; }
.create-steps li.is-done { color: var(--ice); }
.create-steps li.is-done::before { content: ''; border-color: var(--neon-lo); }
.create-steps li.is-done::after { content: ''; position: absolute; left: 8px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--neon); border-bottom: 3px solid var(--neon); transform: rotate(-45deg); }
.create-steps li.is-current { color: #fff; font-weight: 600; }
.create-steps li.is-current::before { background: var(--neon-lo); border-color: var(--neon-hi); color: var(--neon-ink); }

#install-bar { height: 12px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(2, 36, 84, .72); }
#install-bar::after { content: ''; display: block; width: 40%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--neon-lo), var(--neon-hi)); animation: create-install 1.5s ease-in-out infinite alternate; }
@keyframes create-install { from { margin-left: 0; } to { margin-left: 60%; } }
@media (prefers-reduced-motion: reduce) { #install-bar::after { animation: none; width: 100%; opacity: .6; } }

.create-address { display: grid; gap: 4px; margin: 0; }
.create-address dt { font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.create-address dd { margin: 0 0 10px; font: 500 22px var(--mono); color: #fff; overflow-wrap: anywhere; }
.create-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.create-panel p { margin: 0; }

.create-footer { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* The framework's error box, shown if a page fails outright */
.create-server .ui-state-error { max-width: 800px; margin: 40px auto; padding: 14px 18px; border: 1px solid #ff8a95; border-radius: 5px; background: #5c0d17; color: #fff; }

@media (max-width: 640px) {
	.create-panel { padding: 16px; }
	.create-go { width: 100%; }
	.create-steps { padding: 16px; }
}
