/* Ticket Form */
.wpsc-chatbot__ticket-form-wrapper {
	max-width: 100%;
}

.wpsc-chatbot__ticket-form {
	display: block;
	align-self: flex-start;
	font-size: 14px;
	margin: 5px 0;
	padding: 8px 12px;
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 .25rem 6px rgba(0, 0, 0, .25);
	max-width: 80%;
	word-break: break-word;
	overflow-wrap: break-word;
	border-bottom-left-radius: 1px;
}

.wpsc-chatbot__input-group--hidden {
	display: none;
}

/* Message */
.wpsc-chatbot__ticket-modal .wpsc-chatbot__ticket-message {
	margin: 10px 0px;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	border-top: #555 1px solid;
}

.wpsc-chatbot__ticket-message strong {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #111;
}

.wpsc-chatbot__ticket-message p {
	margin-top: 10px;
}

/* Fields */
.wpsc-chatbot__field {
	margin-bottom: 12px;
}

.wpsc-chatbot__field label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
}

.wpsc-chatbot__field input {
	width: 100%;
	height: 40px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	font-size: 12px;
	box-sizing: border-box;
	outline: none;
	background: #fff;
}

.wpsc-chatbot__field input:focus {
	border-color: #2271b1;
}

/* Button */
.wpsc-chatbot__ticket-submit {
	padding: 10px 12px;
	border: 0;
	border-radius: 0.5rem;
	background: #2271b1;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: background .2s ease;
}

.wpsc-chatbot__ticket-submit:hover {
	background: #135e96;
}

.wpsc-chatbot__ticket-submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.wpsc-chatbot__ticket-form-cancel, 
.wpsc-chatbot__ticket-cancel {
	padding: 10px 12px;
	border: 0;
	border-radius: 0.5rem;
	background: #e5e5e5;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: background .2s ease;
}

.wpsc-chatbot__ticket-form-cancel:hover,
.wpsc-chatbot__ticket-cancel:hover {
	background: #d4d4d4;
}

.wpsc-chatbot__ticket-form-cancel:disabled,
.wpsc-chatbot__ticket-cancel:disabled {
	opacity: .6;
	cursor: not-allowed;
}

@media (max-width: 480px) {

	.wpsc-chatbot__ticket-form {
		padding: 12px;
	}

	.wpsc-chatbot__field input {
		font-size: 16px;
	}
}
