:root {
	--zoc-primary: #0f766e;
}

.zoc-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--zoc-primary);
	color: #fff !important;
	border: none;
	border-radius: 10px;
	padding: 13px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22);
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.zoc-cta-button:hover {
	transform: translateY(-1px);
	opacity: 0.95;
}
.zoc-btn-fee-pill {
	background: rgba(255, 255, 255, 0.22);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 13px;
}

/* Modal */
.zoc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
}
.zoc-modal-overlay.is-open {
	display: flex;
}
.zoc-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 16px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.zoc-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
}

/* Card & Form */
.zoc-widget-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.zoc-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	padding-bottom: 16px;
	margin-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
}
.zoc-widget-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}
.zoc-widget-subtitle {
	margin: 4px 0 0;
	font-size: 13px;
	color: #64748b;
}
.zoc-fee-box {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	padding: 8px 14px;
	border-radius: 10px;
	text-align: right;
}
.zoc-fee-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #0f766e;
	font-weight: 600;
}
.zoc-fee-amount {
	font-size: 18px;
	color: #115e59;
}
.zoc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 640px) {
	.zoc-form-grid { grid-template-columns: 1fr; }
}
.zoc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 5px;
}
.zoc-field input[type="text"],
.zoc-field input[type="tel"],
.zoc-field input[type="email"],
.zoc-field input[type="date"],
.zoc-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: #0f172a;
}
.zoc-field input:focus, .zoc-field textarea:focus {
	outline: none;
	border-color: var(--zoc-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

/* Slots Grid */
.zoc-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
	gap: 8px;
	margin-top: 6px;
}
.zoc-slot-btn {
	padding: 9px 8px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	transition: all 0.15s ease;
}
.zoc-slot-btn:hover:not(:disabled) {
	border-color: var(--zoc-primary);
	background: #f0fdfa;
}
.zoc-slot-btn.is-selected {
	background: var(--zoc-primary);
	border-color: var(--zoc-primary);
	color: #fff;
}
.zoc-slot-btn:disabled {
	background: #f1f5f9;
	color: #94a3b8;
	cursor: not-allowed;
	text-decoration: line-through;
}
.zoc-slots-hint, .zoc-slots-closed {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13px;
	background: #f8fafc;
	color: #475569;
	border: 1px dashed #cbd5e1;
}
.zoc-slots-closed {
	background: #fef2f2;
	color: #991b1b;
	border-color: #fecaca;
}

/* Upload Box */
.zoc-upload-box {
	border: 1px dashed #94a3b8;
	border-radius: 10px;
	padding: 12px 14px;
	background: #f8fafc;
}
.zoc-upload-box small {
	display: block;
	color: #64748b;
	margin-top: 4px;
}
.zoc-file-list {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.zoc-file-chip {
	background: #e2e8f0;
	color: #0f172a;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
}

.zoc-alert-box {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
}
.zoc-alert-box.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.zoc-alert-box.is-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.zoc-pay-bar {
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}
.zoc-pay-note {
	font-size: 12px;
	color: #475569;
}
.zoc-submit-btn {
	background: var(--zoc-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.zoc-submit-btn:disabled { opacity: 0.6; cursor: wait; }
.zoc-btn-secondary {
	background: #f1f5f9;
	color: #0f172a;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.zoc-test-gateway-box {
	margin-top: 16px;
	padding: 18px;
	border-radius: 12px;
	background: #fffbeb;
	border: 1px solid #fde68a;
}

/* Result & Portal */
.zoc-result-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px;
}
.zoc-result-card.is-paid { border-color: #86efac; background: #f0fdf4; }
.zoc-result-card.is-failed { border-color: #fca5a5; background: #fef2f2; }
.zoc-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
.zoc-meet-btn {
	display: inline-block;
	background: #2563eb;
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.zoc-wa-btn {
	display: inline-block;
	background: #16a34a;
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

/* Portal Tabs */
.zoc-portal-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.zoc-portal-tab {
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	font-weight: 600;
	cursor: pointer;
}
.zoc-portal-tab.is-active {
	background: var(--zoc-primary);
	border-color: var(--zoc-primary);
	color: #fff;
}
.zoc-portal-pane { display: none; }
.zoc-portal-pane.is-active { display: block; }

.zoc-front-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.zoc-front-table th, .zoc-front-table td { padding: 10px 8px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.zoc-pill { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.zoc-pill-paid { background: #dcfce7; color: #166534; }
.zoc-pill-failed, .zoc-pill-pending { background: #fee2e2; color: #991b1b; }
.zoc-front-accept { background: #0f766e; color: #fff; border: 0; padding: 5px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.zoc-front-decline { background: #dc2626; color: #fff; border: 0; padding: 5px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.zoc-front-link { display: inline-block; background: #2563eb; color: #fff !important; padding: 5px 10px; border-radius: 6px; text-decoration: none; font-size: 12px; }
