@charset "UTF-8";

/* ---------------------------------------------------------------------------
   OneClick WP Hello — Admin Styles
   Version: 1.0.0
   --------------------------------------------------------------------------- */

/* Page title */
.ocwahello-wrap h1 {
	font-weight: bold;
}

.ocwahello-wrap p {
	line-height: 1.5;
    font-size: 16px;
	margin-top: 0.6em;
}

/* Section headings */
.ocwahello-section-title {
	font-size: 20px;
	margin-top: 24px;
}

/* Text inputs and selects */
.ocwahello-input,
.ocwahello-select {
	height: 40px !important;
	width: 400px !important;
	padding-left: 8px;
}

/* Textarea */
.ocwahello-textarea {
	width: 400px !important;
	padding-left: 8px;
}

/* Shortcode copy field */
.ocwahello-shortcode-copy {
	letter-spacing: 1px;
	width: 200px;
	font-family: monospace;
	cursor: text;
}

/* About / Welcome wrap */
.ocwahello-about-wrap {
	position: relative;
    margin: 55px 40px 0 20px;
    max-width: 1050px;
    font-size: 15px;
	margin-left: auto;
    margin-right: auto;
}

.ocwahello-title-text h2 {
    font-size: 30px !important;
    text-align: center !important;
    font-weight: 700 !important;
}

.ocwahello-title-text img {
	margin: 0;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.ocwahello-about-description {
	margin: 16px 0;
}

.ocwahello-about-description h4 {
	margin: 1.25em 0 0.6em;
    font-size: 1.1em;
    line-height: 1.5;
    color: #555d66;
	font-weight: 400;
}

.ocwahello-get-started ul {
	list-style: disc;
	padding-left: 20px;
}

.ocwahello-get-started ul li {
	margin-bottom: 8px;
}

/* Feature grid on Welcome tab */
.ocwahello-feature-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 24px;
}
.ocwahello-feature-col h3 {
	margin: 1.25em 0 0.6em;
    font-size: 1.4em;
    line-height: 1.5;
}

.ocwahello-feature-col {
	width: 48%;
}

.ocwahello-feature-col img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 8px;
}

/* Support tab table */
.ocwahello-support-table {
	margin-top: 24px;
	border-collapse: collapse;
	border-spacing: 0;
	border: none;
}

.ocwahello-support-table td,
.ocwahello-support-table th {
	font-family: Arial, sans-serif;
	font-size: 14px;
	padding: 5px 15px 5px 5px;
	border-style: solid;
	border-width: 0;
	overflow: hidden;
	word-break: normal;
	text-align: left;
	vertical-align: top;
}

.ocwahello-support-table th {
	font-weight: bold;
}

.ocwahello-table th {
	text-align: center;
}

/* ---------------------------------------------------------------------------
   Donate button
   --------------------------------------------------------------------------- */

.ocwahello-donate-container {
	text-align: center;
	padding: 20px 0 10px;
}

.ocwahello-donate-container p {
	font-size: 14px;
	color: #555;
	margin-bottom: 10px;
}

.ocwahello-donate-button {
	background: #f0a500;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ocwahello-donate-button:hover,
.ocwahello-donate-button:focus {
	background: #d4920a;
	outline: 2px solid #f0a500;
	outline-offset: 2px;
}

/* Admin footer thank-you message */
.ocwahello-footer-thankyou a {
    text-decoration: none;
    color: #c1a50a;
    font-weight: bold;
}

/* ---------------------------------------------------------------------------
   Style template picker
   --------------------------------------------------------------------------- */

.ocwahello-style-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 12px 0;
}

.ocwahello-style-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 12px;
	border: 2px solid #dcdcde;
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
	min-width: 90px;
}

.ocwahello-style-card:hover {
	border-color: #72aee6;
	box-shadow: 0 0 0 3px rgba(114,174,230,0.2);
}

.ocwahello-style-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.ocwahello-style-card.is-selected,
.ocwahello-style-card:has(input:checked) {
	border-color: #25d366;
	box-shadow: 0 0 0 3px rgba(37,211,102,0.2);
}

.ocwahello-style-label {
	font-size: 12px;
	font-weight: 600;
	color: #1e1e1e;
	text-align: center;
}

/* Floating button visual previews */
.ocwahello-preview-btn {
	width: 60px;
	height: 60px;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ocwahello-floating-button-description {
	width: 400px !important;
}

.ocwahello-preview-btn--circle {
	border-radius: 50%;
}

.ocwahello-preview-btn--pill {
	width: 100px;
	height: 44px;
	border-radius: 30px;
	gap: 6px;
	padding: 0 12px;
}

.ocwahello-preview-btn--square {
	border-radius: 14px;
}

.ocwahello-preview-btn__icon {
	width: 24px;
	height: 24px;
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
	flex-shrink: 0;
}

.ocwahello-preview-btn__text {
	height: 8px;
	width: 44px;
	background: rgba(255,255,255,0.85);
	border-radius: 4px;
	flex-shrink: 0;
}

/* Popup visual previews */
.ocwahello-preview-popup {
	width: 100px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ocwahello-preview-popup__header {
	height: 18px;
	background: #25d366;
}

.ocwahello-preview-popup__body {
	background: #ffffff;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ocwahello-preview-popup__row {
	height: 7px;
	background: #f0f0f0;
	border-radius: 3px;
}

/* Minimal popup preview */
.ocwahello-preview-popup--minimal .ocwahello-preview-popup__header {
	background: #f6f6f6;
	border-bottom: 1px solid #e0e0e0;
}
.ocwahello-preview-popup--minimal .ocwahello-preview-popup__body {
	background: #ffffff;
}

/* Dark popup preview */
.ocwahello-preview-popup--dark .ocwahello-preview-popup__header {
	background: #16213e;
}
.ocwahello-preview-popup--dark .ocwahello-preview-popup__body {
	background: #1e1e2e;
}
.ocwahello-preview-popup--dark .ocwahello-preview-popup__row {
	background: rgba(255,255,255,0.12);
}

/* ---------------------------------------------------------------------------
   Agent Cards
   --------------------------------------------------------------------------- */

#ocwahello-agents-list {
	max-width: 860px;
	margin-bottom: 16px;
}

.ocwahello-agent-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	margin-bottom: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	transition: border-color 0.15s;
}

.ocwahello-agent-card.is-open {
	border-color: #72aee6;
}

.ocwahello-agent-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	min-height: 60px;
}

/* Drag handle */
.ocwahello-drag-handle {
	cursor: grab;
	color: #bbb;
	font-size: 18px;
	flex-shrink: 0;
	user-select: none;
	padding: 2px 0;
}
.ocwahello-drag-handle:active { cursor: grabbing; }

.ocwahello-agent-num {
	color: #999;
	font-size: 12px;
	min-width: 16px;
	text-align: center;
	flex-shrink: 0;
}

/* Avatar in header */
.ocwahello-agent-avatar-wrap {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}

.ocwahello-agent-avatar-wrap img,
.ocwahello-agent-avatar-wrap .ocwahello-no-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.ocwahello-agent-avatar-wrap .ocwahello-no-avatar {
	background: #f0f0f0;
	line-height: 40px;
	text-align: center;
	color: #aaa;
	font-size: 18px;
	font-weight: bold;
}

/* Name + Role inline inputs */
.ocwahello-agent-header-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ocwahello-agent-name-input,
.ocwahello-agent-role-input {
	width: 100% !important;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid transparent !important;
	border-radius: 4px;
	transition: border-color 0.15s, background 0.15s;
	padding: 3px 7px !important;
	height: auto !important;
	box-shadow: none !important;
}

.ocwahello-agent-name-input {
	font-size: 14px;
	font-weight: 600;
	color: #1e1e1e;
}

.ocwahello-agent-role-input {
	font-size: 12px;
	color: #666;
}

.ocwahello-agent-name-input:hover,
.ocwahello-agent-name-input:focus,
.ocwahello-agent-role-input:hover,
.ocwahello-agent-role-input:focus {
	border-color: #8c8f94 !important;
	background: #f6f7f7;
	outline: none;
	box-shadow: none !important;
}

/* Header right-side controls */
.ocwahello-agent-header-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ocwahello-active-label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	white-space: nowrap;
	color: #555;
	cursor: pointer;
}

.ocwahello-card-toggle {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	box-shadow: none;
	cursor: pointer;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	color: #666;
	transition: background 0.15s;
	flex-shrink: 0;
	padding: 0;
}
.ocwahello-card-toggle:hover {
	background: #f6f7f7;
	border-color: #8c8f94;
}

/* Card body (expandable) */
.ocwahello-agent-card-body {
	border-top: 1px solid #f0f0f0;
	padding: 14px 14px 14px 76px; /* indent aligns under name/role */
}

.ocwahello-field-group {
	display: grid;
	grid-template-columns: 130px 1fr;
	align-items: start;
	gap: 6px 12px;
	margin-bottom: 12px;
}

.ocwahello-field-group:last-child {
	margin-bottom: 0;
}

.ocwahello-field-label {
	font-size: 12px;
	font-weight: 600;
	color: #3c434a;
	padding-top: 6px;
}

.ocwahello-field-group input[type="text"],
.ocwahello-field-group input[type="time"] {
	width: 100%;
	box-sizing: border-box;
}

.ocwahello-avatar-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 2px;
}

/* Shift hours */
.ocwahello-shift-day-grid {
	display: flex;
	gap: 6px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.ocwahello-shift-day-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 10px;
	font-weight: 600;
	gap: 2px;
	cursor: pointer;
	color: #555;
}

.ocwahello-shift-time-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
}

.ocwahello-shift-time-row input[type="time"] {
	width: 120px !important;
}

/* Drag placeholder (div-based sortable) */
.ocwahello-drag-placeholder {
	background: #f0f6fc;
	border: 2px dashed #72aee6;
	border-radius: 6px;
	visibility: visible !important;
	margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------
   Variable picker (chip row above message textareas)
   --------------------------------------------------------------------------- */

.ocwahello-var-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin-bottom: 25px;
	max-width: 400px;
}

.ocwahello-var-picker__label {
	font-size: 11px;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	white-space: nowrap;
	margin-right: 2px;
}

.ocwahello-var-chip {
	display: inline-block;
	padding: 2px 8px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 20px;
	font-family: monospace;
	font-size: 11px;
	color: #0063a3;
	cursor: pointer;
	user-select: none;
	transition: background 0.12s, border-color 0.12s;
	line-height: 1.6;
}

.ocwahello-var-chip:hover,
.ocwahello-var-chip:focus {
	background: #d0e8fa;
	border-color: #72aee6;
	outline: none;
}

.ocwahello-var-chip:active {
	background: #b8d9f5;
}

/* Post-context chips get a slightly different colour to signal they only work on single posts */
.ocwahello-var-chip--post {
	background: #fef6e7;
	border-color: #f0c674;
	color: #8a5b00;
}

.ocwahello-var-chip--post:hover,
.ocwahello-var-chip--post:focus {
	background: #fde9b5;
	border-color: #d4a017;
}

.ocwahello-var-picker__note {
	font-size: 11px;
	color: #888;
	font-style: italic;
	white-space: nowrap;
}

/* Variable reference <details> panel */
.ocwahello-var-reference {
	margin-top: 20px;
	max-width: 620px;
}

.ocwahello-var-reference summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #3c434a;
	padding: 4px 0;
	user-select: none;
}

.ocwahello-var-reference summary:hover {
	color: #0063a3;
}

/* ---------------------------------------------------------------------------
   Shortcode Builder
   --------------------------------------------------------------------------- */

.ocwahello-sc-builder {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 24px;
	max-width: 860px;
	margin-top: 16px;
	align-items: start;
	padding-bottom: 5em;
}

@media (max-width: 900px) {
	.ocwahello-sc-builder {
		grid-template-columns: 1fr;
	}
}

.ocwahello-sc-config {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ocwahello-sc-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ocwahello-sc-label {
	font-size: 13px;
	font-weight: 600;
	color: #3c434a;
}

.ocwahello-sc-output-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 4px;
}

.ocwahello-sc-code-wrap {
	display: flex;
	gap: 8px;
	align-items: center;
}

.ocwahello-sc-code {
	flex: 1;
	font-family: monospace;
	font-size: 13px;
	letter-spacing: 0.3px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #f6f7f7;
	cursor: text;
	box-sizing: border-box;
}

/* Preview panel */
.ocwahello-sc-preview {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px;
	position: sticky;
	top: 32px;
}

.ocwahello-sc-preview-label,
.ocwahello-sc-presets-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #777;
	margin: 0 0 10px;
}

.ocwahello-sc-preview-area {
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 16px;
}

.ocwahello-sc-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
