/* ==========================================================
   PRO SECTION — v2 (CLEAN)
   Loaded AFTER /style.css
========================================================== */

/* ----------------------------------------------------------
   Layout
---------------------------------------------------------- */
.api-container {
	max-width: 980px;
	margin: 0 auto;
}

/* ----------------------------------------------------------
   Base PRO card
---------------------------------------------------------- */
.pro-card {
	border-left: 4px solid #8A9A5B;
}

/* ----------------------------------------------------------
   Typography
---------------------------------------------------------- */
.pro-muted {
	color: #6f7c5a;
	font-size: 0.9rem;
}

/* ==========================================================
   PRO FORMS — CARD BASED (single system)
========================================================== */

.pro-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Card per section */
.pro-settings-card {
	background: #fff;
	border: 1px solid #dde3d5;
	border-radius: 14px;
	padding: 22px 24px;
}

/* Section title */
.pro-settings-card h3 {
	margin: 0 0 18px;
	font-size: 1rem;
	font-weight: 700;
	color: #445135;
}

/* Vertical stack of fields */


/* Label + input */
.pro-form-stack label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #445135;
}

.pro-form-stack input,
.pro-form-stack textarea,
.pro-form-stack select {
	width: 100%;
	padding: 11px 13px;
	border-radius: 8px;
	border: 1px solid #ccd4c0;
	font-size: 14px;
	font-family: inherit;
}

.pro-form-stack input:focus,
.pro-form-stack textarea:focus,
.pro-form-stack select:focus {
	outline: none;
	border-color: #8A9A5B;
	background: #fbfcf8;
}

/* Read-only value (Client UID, status, etc.) */
.pro-readonly-value {
	padding: 11px 13px;
	border-radius: 8px;
	background: #f1f4ed;
	border: 1px dashed #ccd4c0;
	font-size: 14px;
	color: #555;
	font-weight: 600;
}

/* Form actions */
.pro-form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 22px;
	margin-top: 10px;
	border-top: 1px dashed #cfd6c2;
}

/* Muted / placeholder card */
.pro-settings-card.pro-muted {
	background: #f7f9f4;
	color: #6f7c5a;
}

/* ==========================================================
   AUTH / FEEDBACK
========================================================== */

.pro-error {
	background: #fdecea;
	color: #8a1f17;
	border-left: 4px solid #c0392b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.9rem;
}

.pro-success {
	background: #eef7ea;
	color: #2f6b2f;
	border-left: 4px solid #6c7b48;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.9rem;
}

/* ==========================================================
   API KEYS — CLIENT VIEW
========================================================== */

.pro-api-key-row {
	margin-bottom: 30px;
	padding-bottom: 22px;
	border-bottom: 1px solid #eef2e6;
}

.pro-api-key-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.pro-api-key-token {
	margin-top: 8px;
	font-family: monospace;
	font-size: 13px;
	word-break: break-all;
	background: #f4f6f1;
	border-radius: 8px;
	padding: 8px 10px;
}

/* ==========================================================
   PRO BADGES (PRODUCT STATUS)
========================================================== */

.pro-api-products {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed #d8dfce;

	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.pro-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	border: 1px solid transparent;
	white-space: nowrap;
}

/* ACTIVE */
.pro-badge--on {
	background: #e6f3e6;
	color: #2f6b2f;
	border-color: #b7d7b7;
}

/* INACTIVE */
.pro-badge--off {
	background: #fff1e6;
	color: #9a4b00;
	border-color: #f0c29d;
}

/* ==========================================================
   PRODUCTS / INFO CARDS
========================================================== */

.pro-product-card {
	border: 1px solid #dde3d5;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 16px;
}

.pro-price {
	font-size: 1.2rem;
	font-weight: 600;
	color: #445135;
	margin: 8px 0 12px;
}

/* ==========================================================
   ACCOUNT — CARD WRAPPER (optional)
========================================================== */

.pro-account-cards {
	max-width: 720px;
	margin: 0 auto;
}

.pro-account-cards .pro-settings-card {
	box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.pro-account-cards h3 {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pro-account-cards h3::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8A9A5B;
}

.pro-settings-card--readonly {
	background: #f7f9f4;
	border-style: dashed;
}

.pro-settings-card--readonly h3 {
	color: #6f7c5a;
}
.pro-form-stack {
	display: flex;
	flex-direction: column;
	gap: 18px; /* was 14px */
}
.pro-form-stack label span {
	font-size: 12px;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #7b8663;
}

.pro-success {
	animation: fadeHold 6s ease forwards;
}

@keyframes fadeHold {
	0%   { opacity: 0; transform: translateY(-4px); }
	10%  { opacity: 1; transform: translateY(0); }
	80%  { opacity: 1; }
	100% { opacity: 0.85; }
}

.pro-feedback {
	min-height: 48px;
}

.address-results {
	border: 1px solid #ccd4c0;
	border-radius: 8px;
	background: #fff;
	margin-top: 4px;
	max-height: 180px;
	overflow-y: auto;
}

.address-results div {
	padding: 8px 10px;
	cursor: pointer;
	font-size: 13px;
}

.address-results div:hover {
	background: #f4f7f1;
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width: 720px) {
	/* layout already vertical — no overrides needed */
}