/**
 * WillieChat admin settings page styles.
 *
 * @package WillieChat
 */

.williechat-settings {
	max-width: 700px;
	margin: 20px 0;
}

/* Header */
.williechat-header {
	margin-bottom: 24px;
}

.williechat-header h1 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #1d2327;
}

.williechat-tagline {
	font-size: 14px;
	color: #646970;
	margin: 0;
}

/* Card */
.williechat-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.williechat-card h2 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
	padding: 0;
	color: #1d2327;
}

.williechat-card > p {
	color: #50575e;
	margin: 0 0 20px;
}

.williechat-card .form-table {
	margin: 0 0 16px;
}

.williechat-card .form-table th {
	width: 120px;
	padding: 12px 10px 12px 0;
	font-weight: 600;
}

.williechat-card .form-table td {
	padding: 12px 0;
}

.williechat-card .form-table input.regular-text,
.williechat-card .form-table select.regular-text {
	width: 100%;
	max-width: 400px;
}

/* Buttons */
.williechat-card .submit {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin: 16px 0 0;
	padding: 0;
}

.williechat-btn-disconnect {
	color: #b32d2e !important;
	border-color: #b32d2e !important;
}

.williechat-btn-disconnect:hover {
	background: #b32d2e !important;
	color: #fff !important;
}

/* Notices */
.williechat-notice {
	padding: 10px 14px;
	margin: 0 0 16px;
	border-left: 4px solid #72aee6;
	background: #f0f6fc;
	border-radius: 2px;
	line-height: 1.5;
}

.williechat-notice-error {
	border-left-color: #d63638;
	background: #fcf0f1;
	color: #8a1e1f;
}

.williechat-notice-info {
	border-left-color: #72aee6;
	background: #f0f6fc;
	color: #1d2327;
}

/* Status badge */
.williechat-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.williechat-status-active {
	background: #edfcf2;
	color: #0e6027;
	border: 1px solid #b0e8c4;
}

/* Registration link */
.williechat-register-link {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f1;
	color: #50575e;
}

.williechat-register-link a {
	font-weight: 600;
}

/* Footer */
.williechat-footer {
	margin-top: 24px;
}

.williechat-footer p {
	color: #a7aaad;
	font-size: 13px;
}

.williechat-footer a {
	color: #a7aaad;
	text-decoration: none;
}

.williechat-footer a:hover {
	color: #646970;
}
