/**
 * Chef Customer Ticket Manager - Search Styles
 * Matches euromobil theme styling
 */

.chef-customer-ticket-search {
	margin: 30px 0;
	font-family: "Red Hat Display", sans-serif;
}

.chef-customer-ticket-search-form {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.chef-customer-ticket-search input[type="text"] {
	flex: 1;
	min-width: 250px;
	padding: 14px 20px;
	box-sizing: border-box;
	border: 1px solid #cec8bb;
	line-height: 1;
	font-size: 16px;
	font-family: "Red Hat Display", sans-serif;
	transition: 0.3s;
	border-radius: 8px;
	color: #000;
	background: #fff;
}

.chef-customer-ticket-search input[type="text"]:focus {
	outline: none;
	border-color: #000;
}

.chef-customer-ticket-search input[type="text"]::placeholder {
	color: #a8adb3;
	opacity: 0.7;
}

.chef-customer-ticket-search-btn {
	background: #fae100;
	padding: 15px 30px;
	display: inline-block;
	border-radius: 8px;
	border: none;
	position: relative;
	transition: 0.3s;
	color: #000;
	text-decoration: none;
	font-size: 16px;
	font-family: "Red Hat Display", sans-serif;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.chef-customer-ticket-search-btn:hover,
.chef-customer-ticket-search-btn:focus {
	background: #004666;
	color: #fff;
	outline: none;
}

.chef-customer-ticket-search-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #fae100;
	color: #000;
}

.chef-customer-ticket-search-btn:disabled:hover {
	background: #fae100;
	color: #000;
}

#chef-customer-ticket-results {
	margin-top: 30px;
}

.chef-customer-ticket-results-list {
	font-family: "Red Hat Display", sans-serif;
}

.chef-customer-ticket-results-list > p {
	margin: 0 0 20px 0;
	font-size: 18px;
	font-weight: 600;
	color: #000;
}

.chef-customer-ticket-results-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.chef-customer-ticket-result-item {
	margin: 0;
	padding: 20px;
	border: 1px solid #cec8bb;
	background: #fff;
	border-radius: 8px;
	transition: 0.3s;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.chef-customer-ticket-result-item:hover {
	border-color: #004666;
	box-shadow: 0 2px 8px rgba(0, 70, 102, 0.1);
}

.chef-customer-ticket-result-filename {
	font-weight: 600;
	font-size: 16px;
	color: #000;
	word-break: break-word;
}

.chef-customer-ticket-result-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.chef-customer-ticket-btn-view,
.chef-customer-ticket-btn-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	font-family: "Red Hat Display", sans-serif;
	transition: 0.3s;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.chef-customer-ticket-btn-view {
	background: #004666;
	color: #fff;
}

.chef-customer-ticket-btn-view:hover,
.chef-customer-ticket-btn-view:focus {
	background: #003d58;
	color: #fff;
	text-decoration: none;
}

.chef-customer-ticket-btn-download {
	background: #fae100;
	color: #000;
}

.chef-customer-ticket-btn-download:hover,
.chef-customer-ticket-btn-download:focus {
	background: #004666;
	color: #fff;
	text-decoration: none;
}

.chef-customer-ticket-btn-icon {
	font-size: 16px;
	line-height: 1;
}

.chef-customer-ticket-search-message {
	margin: 20px 0;
	padding: 12px 20px;
	border-radius: 8px;
	font-family: "Red Hat Display", sans-serif;
	font-size: 16px;
}

.chef-customer-ticket-search-message.error {
	background: #c1042a;
	color: #fff;
}

.chef-customer-ticket-search-message.info {
	background: #f2f9fa;
	color: #000;
	border: 1px solid #cec8bb;
}

.chef-customer-ticket-search-message.loading {
	background: #f2f9fa;
	color: #4c5356;
	border: 1px solid #cec8bb;
}

/* Responsive */
@media only screen and (max-width: 600px) {
	.chef-customer-ticket-search-form {
		flex-direction: column;
	}

	.chef-customer-ticket-search input[type="text"] {
		width: 100%;
		min-width: 100%;
	}

	.chef-customer-ticket-search-btn {
		width: 100%;
	}
}
