/**
 * Public styles for Asystio plugin
 */

/* Ticket Submission Form */
.asystio-new-ticket-form {
	max-width: 600px;
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fafafa;
}

.asystio-field {
	margin-bottom: 1rem;
}

.asystio-new-ticket-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.asystio-input,
.asystio-textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
}

.asystio-input:focus,
.asystio-textarea:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}

.asystio-submit {
	margin-top: 1rem;
	margin-bottom: 0;
}

.asystio-button {
	padding: 0.75rem 1.5rem;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.asystio-button:hover {
	background: #005a87;
}

.asystio-button:active {
	background: #004368;
}

/* Success and Error Messages */
.asystio-success {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: #e6ffed;
	border: 1px solid #8fd19e;
	border-radius: 4px;
	color: #155724;
}

.asystio-error {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: #ffecec;
	border: 1px solid #f5a6a6;
	border-radius: 4px;
	color: #721c24;
}

.asystio-error p {
	margin: 0.25rem 0;
}

.asystio-error p:first-child {
	margin-top: 0;
}

.asystio-error p:last-child {
	margin-bottom: 0;
}
