/**
 * Authyo EVF — Support Tab Styles
 * @since 1.0.1
 */

.authyo-support-container {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 680px;
	margin-top: 20px;
}

.authyo-support-container .authyo-settings-card {
	margin: 0 0 24px;
}

.authyo-support-contact-card .authyo-card-body { padding: 0; }

.authyo-support-email-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 24px;
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f0fe 100%);
}

.authyo-support-email-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 20px;
	color: #fff;
	background: #2271b1;
	border-radius: 50%;
	flex-shrink: 0;
}
.authyo-support-email-icon.dashicons::before { line-height: 40px; }

.authyo-support-email-address {
	font-size: 17px;
	font-weight: 600;
	color: #1d2327;
	-webkit-user-select: all;
	user-select: all;
}

.authyo-support-copy-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	padding: 6px 16px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	white-space: nowrap;
	border-radius: 4px !important;
	transition: all 0.2s ease;
}
.authyo-support-copy-btn .dashicons { font-size: 15px; width: 15px; height: 15px; line-height: 15px; }
.authyo-support-copy-btn.authyo-copied { color: #00a32a !important; border-color: #00a32a !important; background: #edfaef !important; }

.authyo-support-form-card .authyo-card-body { padding: 24px; }

.authyo-support-form { display: flex; flex-direction: column; gap: 20px; }

.authyo-support-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.authyo-support-field { display: flex; flex-direction: column; gap: 5px; }

.authyo-support-field .authyo-field-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}
.authyo-support-field .authyo-field-label .dashicons { font-size: 15px; width: 15px; height: 15px; color: #2271b1; }

.authyo-support-select,
.authyo-support-field input.authyo-field-input,
.authyo-support-field textarea.authyo-field-input {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.authyo-support-select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2350575e' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	padding-right: 36px;
	cursor: pointer;
}
.authyo-support-select:focus,
.authyo-support-field input.authyo-field-input:focus,
.authyo-support-field textarea.authyo-field-input:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34,113,177,.15);
	outline: none;
}
.authyo-support-field textarea.authyo-field-input { resize: vertical; min-height: 120px; }

.authyo-support-disclosure {
	padding: 10px 14px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 12px;
	color: #50575e;
	line-height: 1.5;
}

.authyo-support-submit-row { padding-top: 6px; }

.authyo-support-submit-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	padding: 10px 28px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
}
.authyo-support-submit-btn .dashicons { font-size: 16px; width: 16px; height: 16px; line-height: 16px; }
.authyo-support-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

.authyo-support-status { padding: 14px 18px; border-radius: 6px; font-size: 13px; line-height: 1.5; font-weight: 500; }
.authyo-support-status.authyo-support-success { background: #edfaef; border-left: 4px solid #00a32a; color: #1e4620; }
.authyo-support-status.authyo-support-error   { background: #fcf0f1; border-left: 4px solid #d63638; color: #8a1f22; }
.authyo-support-status.authyo-support-warning { background: #fff8e1; border-left: 4px solid #ffb300; color: #664d03; }

@media screen and (max-width: 782px) {
	.authyo-support-container { max-width: 100%; }
	.authyo-support-row-2col { grid-template-columns: 1fr; }
	.authyo-support-email-row { flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
	.authyo-support-copy-btn { margin-left: 0; width: 100%; justify-content: center; }
}
