/**
 * Authyo Forminator — Support Tab Styles
 * @since 1.0.7
 */

@keyframes spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

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

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

.authyo-support-contact-card > p {
	padding: 4px 18px 0;
	margin: 0;
}

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

.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;
	letter-spacing: 0.2px;
	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 > p,
.authyo-support-form-card > form {
	padding-left: 18px;
	padding-right: 18px;
}

.authyo-support-form-card > p:first-of-type {
	padding-top: 4px;
}

.authyo-support-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 10px;
	padding-bottom: 18px;
}

.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;
	margin-bottom: 2px;
}

.authyo-support-field .authyo-field-label .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	color: #2271b1;
}

.authyo-support-field select.authyo-field-input,
.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-field select.authyo-field-input: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, 0.15);
	outline: none;
}

.authyo-support-field textarea.authyo-field-input {
	resize: vertical;
	min-height: 120px;
}

.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;
	transition: all 0.15s ease;
}

.authyo-support-submit-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
}

.authyo-support-submit-btn:disabled {
	opacity: 0.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;
	}
	.authyo-support-copy-btn {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}
}
