/* IT-Everest Service Desk — front-end styles.
   Inherits the theme (blackcats) typography (Montserrat) and brand accent #176fa6.
   No font-family overrides: text inherits the active theme font. */

.esd-form {
	width: 100%;
	margin: 0 0 30px;
}
.esd-form .esd-row {
	margin-bottom: 18px;
}
/* extra breathing room ONLY above the incident description field */
.esd-form .esd-row-desc {
	margin-top: 10px;
}
.esd-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #222;
}
.esd-form input[type="text"],
.esd-form input[type="email"],
.esd-form select,
.esd-form textarea {
	width: 100%;
	border: 1px solid #e1e6ea;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	background: #f7f9fb;
	box-sizing: border-box;
}
/* equal height for all single-line fields */
.esd-form input[type="text"],
.esd-form input[type="email"],
.esd-form select {
	height: 52px;
	padding: 0 16px;
}
.esd-form textarea {
	padding: 12px 16px;
}
.esd-form input:focus,
.esd-form select:focus,
.esd-form textarea:focus {
	outline: none;
	border-color: #176fa6;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(23, 111, 166, .12);
}
/* custom dropdown arrow (selects are kept native via class "ignore") */
.esd-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235a6b7b' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}
.esd-form .esd-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
@media (max-width: 600px) {
	.esd-form .esd-grid {
		grid-template-columns: 1fr;
	}
}
.esd-req {
	color: #d83b3b;
}
.esd-consent label {
	font-weight: 400;
	font-size: 14px;
	color: #555;
}
.esd-consent input {
	width: auto;
	margin-right: 8px;
}
/* honeypot — hidden from humans */
.esd-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* alerts */
.esd-alert {
	border-radius: 4px;
	padding: 16px 18px;
	margin-bottom: 24px;
	font-size: 18px;
	line-height: 1.5;
}
.esd-alert-ok {
	background: #e8f2f8;
	border: 1px solid #176fa6;
	color: #11537c;
}
.esd-alert-err {
	background: #fdecec;
	border: 1px solid #d83b3b;
	color: #8a1f1f;
}
.esd-num {
	font-weight: 700;
	font-size: 1.05em;
	color: #d14545;
}

/* result card */
.esd-result {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e1e6ea;
	border-radius: 6px;
	padding: 22px 24px;
	margin-top: 24px;
	background: #f7f9fb;
}
.esd-result h3 {
	margin-top: 0;
	color: #bf2f2f;
	font-weight: 700;
	padding-bottom: 20px;
}
.esd-result-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 18px;
}
.esd-result-table th,
.esd-result-table td {
	text-align: left;
	padding: 9px 12px;
	border-bottom: 1px solid #e6ebef;
}
.esd-result-table th {
	width: 200px;
	color: #6a7785;
	font-weight: 600;
}
.esd-log {
	list-style: none;
	padding: 0;
	margin: 0;
}
.esd-log li {
	padding: 8px 0;
	border-bottom: 1px dashed #dce3ea;
	font-size: 14px;
}
.esd-log-time {
	color: #6a7785;
}

/* SLA table */
.esd-sla {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0 30px;
}
.esd-sla th,
.esd-sla td {
	border: 1px solid #e1e6ea;
	padding: 12px 16px;
	text-align: left;
	font-size: 15px;
}
.esd-sla thead th {
	background: #176fa6;
	color: #fff;
	font-weight: 600;
}
.esd-sla tbody tr:nth-child(even) {
	background: #f4f7fa;
}

/* contacts */
.esd-contacts {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 2;
}
.esd-contacts a {
	color: #176fa6;
}

/* submit button uses the theme's native .theme-btn .style-one; only spacing here */
.esd-form .theme-btn {
	cursor: pointer;
	border: 0;
}

/* Page-specific heading spacing — Service Desk page only (body.page-id-2708) */
.page-id-2708 .sec-title-two {
	margin-top: 20px;
	margin-bottom: 10px;
}

/* Hide the footer newsletter/subscribe section on the Service Desk page only */
.page-id-2708 .newsletter-style-two {
	display: none;
}

/* requester priority-change form inside the status result */
.esd-prio-form {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #e6ebef;
}
.esd-prio-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222;
}
.esd-prio-row {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}
.esd-prio-row select {
	width: auto;
	min-width: 220px;
}
.esd-prio-row .theme-btn {
	border: 0;
	cursor: pointer;
}

/* Telegram subscribe CTA */
.esd-tg-cta {
	margin: 22px 0 4px;
}
.esd-tg-cta .esd-tg-btn {
	background: #229ed9 !important;
}

/* Tracking-link focused view: back button spacing */
.esd-track-actions {
	margin-top: 28px;
}
.esd-track-actions .theme-btn {
	border: 0;
	cursor: pointer;
}
