/**
 * Admin Settings Styles
 *
 * Defines the styles for the Chat Module admin settings page, including modals, buttons,
 * input fields, and payment-related elements.
 *
 * @package chat-ai-with-dispatcher
 * @since 1.0.0
 */

/* Checkbox styling */
.form-check-input:checked {
	background-color: #1e91cf;
	border-color: #1e91cf;
}

/* Card and container styling */
.container-fluid .card {
	max-width: none;
}

/* Duration modal styling */
#duration-modal div {
	margin-bottom: 15px;
}

#duration-select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

#duration-modal label {
	display: block;
	margin-bottom: 15px;
	text-align: left;
}

/* Modal window styling */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1001;
}

.modal-content {
	background-color: #fff;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #ddd;
	width: 80%;
	max-width: 400px;
	border-radius: 8px;
	text-align: center;
}

.close-modal {
	float: right;
	font-size: 24px;
	cursor: pointer;
}

/* Registration form styling */
#registration-form div {
	margin-bottom: 15px;
}

#registration-form input {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

#registration-form button {
	background: #007bff;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
}

#registration-form button:hover {
	background: #0056b3;
}

/* Help and credit styling */
.help_apkey {
	font-size: 11px;
	font-style: italic;
	margin-bottom: 10px;
	font-weight: 700;
}

#credit-amount {
	font-weight: bold;
	font-size: 18px;
}

/* Payment description styling */
.vrcs-payment-desc {
	border: 1px solid red;
	background: aliceblue;
	margin-top: 10px;
}

/* General page and card styling */
.wrap .page-header .container-fluid,
.wrap .container-fluid .card {
	font-size: 13px;
}

.pay_description {
	margin: 5px 0 15px 0;
}

.chataiwd-switch {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 24px;
}

.chataiwd-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.chataiwd-slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.chataiwd-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .chataiwd-slider {
	background-color: #2c30a5; /* A te színed */
}

input:checked + .chataiwd-slider:before {
	transform: translateX(22px);
}

.btn-dispatcher {
	background-color: #8e44ad; /* Elegáns lila */
	border-color: #8e44ad;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-dispatcher:hover {
	background-color: #9b59b6;
	border-color: #9b59b6;
	color: #fff;
}

@keyframes pulse-border {
	0% { box-shadow: 0 0 0 0 rgba(142, 68, 173, 0.7); }
	70% { box-shadow: 0 0 0 10px rgba(142, 68, 173, 0); }
	100% { box-shadow: 0 0 0 0 rgba(142, 68, 173, 0); }
}

.btn-dispatcher {
	animation: pulse-border 2s infinite;
}