/* AJI Tech Solution Core – form & account styles. Uses theme variables when available. */
.ajits-form, .ajits-account { --a-blue: var(--blue, #0b4fc2); --a-blue-d: var(--blue-dark, #0a3f9e); --a-navy: var(--navy, #0a2358); --a-ink: var(--ink, #13213c); --a-muted: var(--muted, #5a6882); --a-line: var(--line, #e1e8f4); --a-tint: var(--tint, #e6effd); }

body.ajits-page .page-content { max-width: 1040px; }
body.ajits-page .entry__title { text-align: center; }
body.ajits-page .ajits-login, body.ajits-page .ajits-contact { max-width: 640px; margin-inline: auto; }

.ajits-form { display: block; padding: 32px; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; box-shadow: 0 6px 24px rgba(15, 52, 120, .07); color: var(--a-ink); }
.ajits-step { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.ajits-step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0; font-size: 17px; font-weight: 700; color: var(--a-navy); }
.ajits-step__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--a-blue); color: #fff; font-size: 13px; }

.ajits-choices { display: grid; gap: 14px; }
.ajits-choices--2 { grid-template-columns: repeat(2, 1fr); }
.ajits-choice { position: relative; display: block; cursor: pointer; }
.ajits-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ajits-choice__body { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--a-line); border-radius: 10px; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.ajits-choice__body strong { font-size: 15px; color: var(--a-navy); }
.ajits-choice__body small { font-size: 12.5px; color: var(--a-muted); }
.ajits-choice__body em { margin-top: 6px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--a-blue); }
.ajits-choice:hover .ajits-choice__body { border-color: #9db9ee; }
.ajits-choice input:checked + .ajits-choice__body { border-color: var(--a-blue); background: #f5f9ff; box-shadow: 0 0 0 3px rgba(11, 79, 194, .12); }
.ajits-choice input:focus-visible + .ajits-choice__body { outline: 3px solid #3b82f6; outline-offset: 2px; }

.ajits-summary { margin-top: 14px; padding: 14px 18px; background: var(--a-tint); border-radius: 10px; font-size: 14px; line-height: 1.6; color: var(--a-navy); }
.ajits-summary:empty { display: none; }

.ajits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.ajits-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ajits-field--full { grid-column: 1 / -1; }
.ajits-field label { font-size: 13.5px; font-weight: 600; color: var(--a-navy); }
.ajits-req { color: #d33; }
.ajits-field input, .ajits-field select, .ajits-field textarea, .ajits-login input[type="text"], .ajits-login input[type="password"] { width: 100%; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--a-ink); background: #fff; border: 1.5px solid var(--a-line); border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.ajits-field input:focus, .ajits-field select:focus, .ajits-field textarea:focus, .ajits-login input:focus { outline: none; border-color: var(--a-blue); box-shadow: 0 0 0 3px rgba(11, 79, 194, .15); }
.ajits-field [aria-invalid="true"] { border-color: #d33; }
.ajits-hint { font-size: 12.5px; color: var(--a-muted); margin: 0; }
.ajits-hint a, .ajits-notice a { color: var(--a-blue); text-decoration: underline; }
.ajits-error { min-height: 0; margin: 0; font-size: 12.5px; color: #c62828; }
.ajits-error:empty { display: none; }
.ajits-center { text-align: center; margin-top: 16px; }

.ajits-check { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13.5px; cursor: pointer; }
.ajits-check input { margin-top: 3px; }
.ajits-field--check { margin: 4px 0 18px; }

.ajits-btn, .ajits-login input[type="submit"] { display: block; width: 100%; padding: 14px 22px; font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--a-blue); border: 0; border-radius: 8px; box-shadow: 0 6px 16px rgba(11, 79, 194, .25); cursor: pointer; transition: background-color .2s; }
.ajits-btn:hover, .ajits-login input[type="submit"]:hover { background: var(--a-blue-d); }
.ajits-btn[disabled] { opacity: .65; cursor: wait; }

.ajits-status { margin: 0 0 14px; font-size: 14px; }
.ajits-status:empty { display: none; }
.ajits-status--error { padding: 12px 14px; background: #fdecec; color: #a12727; border-radius: 8px; }
.ajits-status--ok { padding: 12px 14px; background: #e6f6ec; color: #17693a; border-radius: 8px; }
.ajits-notice { margin: 0 0 18px; padding: 12px 14px; background: var(--a-tint); color: var(--a-navy); border-radius: 8px; font-size: 14px; }
.ajits-notice--error { background: #fdecec; color: #a12727; }

.ajits-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WordPress login form inside our wrapper */
.ajits-login form p { margin: 0 0 16px; }
.ajits-login label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--a-navy); }
.ajits-login .login-remember label { display: inline-flex; gap: 8px; font-weight: 400; }

/* Account page */
.ajits-account { max-width: 720px; margin-inline: auto; }
.ajits-account__hello { margin-bottom: 18px; font-size: 24px; color: var(--a-navy); }
.ajits-card { padding: 28px; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; box-shadow: 0 6px 24px rgba(15, 52, 120, .07); }
.ajits-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ajits-card__head h3 { margin: 0; font-size: 20px; color: var(--a-navy); }
.ajits-badge { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--a-tint); color: var(--a-blue); }
.ajits-badge--active { background: #dcf5e3; color: #1f8a4c; }
.ajits-badge--expired, .ajits-badge--suspended { background: #fde3e3; color: #cc3b3b; }
.ajits-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 0; }
.ajits-dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--a-muted); }
.ajits-dl dd { margin: 2px 0 0; font-weight: 600; color: var(--a-navy); }

@media (max-width: 640px) {
	.ajits-form { padding: 22px 18px; }
	.ajits-choices--2, .ajits-grid, .ajits-dl { grid-template-columns: 1fr; }
}

/* ---------- Payments ---------- */
.ajits-account .ajits-card + .ajits-card, .ajits-account .ajits-notice + .ajits-card { margin-top: 24px; }
.ajits-card h3 { margin: 0 0 6px; font-size: 18px; color: var(--a-navy); }
.ajits-form--plain { padding: 0; border: 0; box-shadow: none; background: transparent; margin-top: 16px; }
.ajits-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ajits-step--tight { margin: 20px 0 0; }
.ajits-step--tight legend { font-size: 14.5px; }
.ajits-choice__body small.ajits-pre, .ajits-pre { white-space: pre-line; }
.ajits-form--plain .ajits-choices { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ajits-form--plain .ajits-btn { margin-top: 8px; }
.ajits-table-wrap { overflow-x: auto; margin-top: 12px; }
.ajits-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ajits-table th { text-align: left; padding: 8px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--a-muted); border-bottom: 1px solid var(--a-line); }
.ajits-table td { padding: 10px; border-bottom: 1px solid var(--a-line); vertical-align: top; }
.ajits-table small { color: var(--a-muted); }
.ajits-badge--pay-approved { background: #dcf5e3; color: #1f8a4c; }
.ajits-badge--pay-rejected { background: #fde3e3; color: #cc3b3b; }
.ajits-badge--pay-pending { background: #fdf0c9; color: #8a6a07; }
@media (max-width: 640px) { .ajits-grid--3 { grid-template-columns: 1fr; } }
