/* One-Click Order Button */
.oco-button {
	margin-top: 10px;
	width: 100%;
	background-color: #2c3e50 !important;
	border-color: #2c3e50 !important;
}

.oco-button:hover {
	background-color: #34495e !important;
	border-color: #34495e !important;
}

/* Modal Overlay */
.oco-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.oco-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}

/* Modal Content */
.oco-modal-content {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 500px;
	margin: 50px auto;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
	z-index: 10000;
	max-height: 90vh;
	overflow-y: auto;
}

/* Close Button */
.oco-modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
	line-height: 20px;
}

.oco-modal-close:hover {
	color: #000;
}

/* Modal Title */
.oco-modal-title {
	margin: 0 0 20px 0;
	font-size: 24px;
	font-weight: bold;
	color: #2c3e50;
}

/* Form */
.oco-form {
	margin: 0;
}

.oco-form-group {
	margin-bottom: 20px;
}

.oco-form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.oco-form-group .required {
	color: #e74c3c;
}

.oco-input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.oco-input:focus {
	outline: none;
	border-color: #3498db;
}

/* Error Messages */
.oco-error {
	display: none;
	color: #e74c3c;
	font-size: 12px;
	margin-top: 5px;
}

/* Turnstile Widget */
#oco-turnstile-widget {
	margin: 10px 0;
}

/* Submit Button */
.oco-form-actions {
	margin-top: 25px;
}

.oco-submit {
	width: 100%;
	padding: 15px;
	font-size: 16px;
	font-weight: bold;
	background-color: #27ae60 !important;
	border-color: #27ae60 !important;
	cursor: pointer;
	transition: background-color 0.3s;
}

.oco-submit:hover {
	background-color: #229954 !important;
	border-color: #229954 !important;
}

.oco-submit:disabled,
.oco-submit.loading {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Message */
.oco-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 4px;
	text-align: center;
}

.oco-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.oco-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Body class when modal open */
body.oco-modal-open {
	overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
	.oco-modal-content {
		width: 95%;
		margin: 20px auto;
		padding: 20px;
	}

	.oco-modal-title {
		font-size: 20px;
	}
}
