/* Support form. Brings its own surface, like the help panel. */
.ogou-support {
	max-width: 660px; margin: 0 auto; padding: 26px 22px 28px;
	background: #0f0f16; border: 1px solid #23232f; border-radius: 20px;
	color: #edecf3; font-family: 'Inter', -apple-system, system-ui, sans-serif;
}
.ogou-support * { box-sizing: border-box; }
.ogou-support-field { display: block; margin: 0 0 18px; }
.ogou-support-field > span {
	display: block; margin-bottom: 7px;
	font-size: 13px; font-weight: 600; color: #cfcfe0;
}
.ogou-support select,
.ogou-support input[type="text"],
.ogou-support input[type="email"],
.ogou-support textarea {
	width: 100%; padding: 12px 14px;
	background: #12121a; border: 1px solid #2c2c3a; border-radius: 11px;
	color: #edecf3; font: inherit; font-size: 15px;
}
.ogou-support textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.ogou-support select:focus,
.ogou-support input:focus,
.ogou-support textarea:focus { outline: none; border-color: #ff5a1f; }

.ogou-support-ask {
	margin: -8px 0 18px; padding: 11px 14px;
	background: rgba(255, 90, 31, .09); border-left: 3px solid #ff5a1f;
	border-radius: 0 8px 8px 0;
	font-size: 13.5px; line-height: 1.55; color: #ffb894;
}
.ogou-support-row { display: flex; gap: 14px; }
.ogou-support-row .ogou-support-field { flex: 1 1 0; }
.ogou-support-as { margin: 0 0 18px; font-size: 13px; color: #8b8b9c; }

/*
 * The honeypot, out of sight and out of the tab order.
 *
 * `display: none` would be enough for the crude scripts and is what some of
 * the better ones look for. Positioning it off-screen instead means it reads
 * as a real field to anything that only parses the markup.
 */
.ogou-support-hp {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.ogou-support .ogou-btn {
	padding: 13px 30px; border: 0; border-radius: 999px;
	background: linear-gradient(135deg, #ff5a1f, #ffb020);
	color: #141014; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.ogou-support-note { margin: 14px 0 0; font-size: 12.5px; color: #8b8b9c; }

.ogou-support-done,
.ogou-support-err {
	margin: 0 0 20px; padding: 14px 16px; border-radius: 12px;
	font-size: 14.5px; line-height: 1.55;
}
.ogou-support-done { background: rgba(126, 226, 168, .1); border: 1px solid rgba(126, 226, 168, .3); color: #b6f0cf; }
.ogou-support-done p { margin: 6px 0 0; font-size: 13.5px; }
.ogou-support-err { background: rgba(255, 90, 122, .1); border: 1px solid rgba(255, 90, 122, .3); color: #ffb6c4; }

@media (max-width: 560px) {
	.ogou-support { padding: 20px 15px 22px; border-radius: 16px; }
	.ogou-support-row { flex-direction: column; gap: 0; }
}

/* ---------------------------------------------------------------------------
   Conversations
   ---------------------------------------------------------------------------
   The record lives here, not in an inbox. Somebody who wrote from a phone
   comes back to the site, not to a Gmail folder they open once a week.
   ------------------------------------------------------------------------ */
.ogou-support-list { margin: 0 0 26px; }
.ogou-support-list-head {
	margin: 0 0 12px !important; font-size: 15px !important;
	font-weight: 700 !important; color: #cfcfe0 !important;
}
.ogou-support-item {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 13px 15px; margin-bottom: 8px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 12px;
	color: inherit; text-decoration: none;
	transition: background .15s, border-color .15s;
}
.ogou-support-item:hover { background: rgba(255, 255, 255, .07); }
.ogou-support-item.has-new { border-color: rgba(255, 138, 76, .38); }
.ogou-support-item-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ogou-support-item-main strong { font-size: 14.5px; }
.ogou-support-item-when { font-size: 12px; color: #8b8b9c; }
.ogou-support-item-status { flex: 0 0 auto; font-size: 12px; color: #8b8b9c; }
.ogou-support-item-new {
	flex: 0 0 auto; padding: 4px 10px; border-radius: 999px;
	background: #ff5a1f; color: #fff;
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}

.ogou-support-thread { margin: 0 0 24px; }
.ogou-support-thread-head { margin: 0 0 14px; font-size: 13px; }
.ogou-support-thread-head a { color: #8b8b9c; text-decoration: none; }
.ogou-support-thread-head a:hover { color: #fff; }
.ogou-support-thread-title { margin: 0 0 3px !important; font-size: 19px !important; color: #fff !important; }
.ogou-support-thread-ref { margin: 0 0 18px !important; font-size: 12px !important; color: #8b8b9c !important; }

/*
 * Ours is indented, theirs is not.
 *
 * The difference has to be visible at a glance on a phone — a thread where
 * both sides look alike is a thread somebody has to read twice to follow.
 */
.ogou-support-msg {
	padding: 13px 15px; margin-bottom: 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .07);
}
.ogou-support-msg.is-us {
	margin-left: 24px;
	background: rgba(255, 90, 31, .08);
	border-color: rgba(255, 138, 76, .24);
}
.ogou-support-msg-who { margin: 0 0 7px !important; font-size: 12px !important; color: #8b8b9c !important; }
.ogou-support-msg.is-us .ogou-support-msg-who { color: #ff8a4c !important; }
.ogou-support-msg-body { white-space: pre-wrap; line-height: 1.6; font-size: 14.5px; }
.ogou-support-thread-note { margin: 16px 0 0 !important; font-size: 13px !important; color: #8b8b9c !important; }

@media (max-width: 560px) {
	.ogou-support-item { flex-direction: column; align-items: flex-start; gap: 8px; }
	.ogou-support-msg.is-us { margin-left: 12px; }
}

/* ---------------------------------------------------------------------------
   Confirmation
   ---------------------------------------------------------------------------
   Said once, at the top, in words — the thread below is the evidence, but
   evidence somebody has to interpret is not reassurance.
   ------------------------------------------------------------------------ */
.ogou-support-arrived {
	margin: 0 0 22px; padding: 16px 18px;
	background: rgba(126, 226, 168, .09);
	border: 1px solid rgba(126, 226, 168, .3);
	border-radius: 13px;
}
.ogou-support-arrived strong {
	display: block; margin-bottom: 7px;
	font-size: 15.5px; color: #b6f0cf;
}
.ogou-support-arrived p {
	margin: 0 !important; font-size: 14px !important;
	line-height: 1.6 !important; color: #cfcfe0 !important;
}
.ogou-support-arrived-note {
	margin-top: 9px !important; font-size: 12.5px !important; color: #8b8b9c !important;
}
