/* ── Header suppression on lock page ──────────────────────────────────── */
.is-lock-page .ct-header a,
.is-lock-page .ct-header button {
    pointer-events: none;
    cursor: default;
}

.is-lock-page .ct-header [data-type="search"],
.is-lock-page .ct-header .ct-search-form,
.is-lock-page .ct-header .ct-toggle-dropdown-trigger[data-toggle-type="search"] {
    display: none !important;
}

/* ── Main layout ──────────────────────────────────────────────────────── */
.is-lock-main {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background: #f7f8fa;
}

.is-lock-wrap {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
    overflow: hidden;
}

/* ── Tabs ─────────────────────────────────────────────────────────────── */
.is-lock-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
}

.is-lock-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}

.is-lock-tab:hover { color: var(--isb2b-dark, #333); }

.is-lock-tab.active {
    color: var(--isb2b-primary, #00aeef);
    border-bottom-color: var(--isb2b-primary, #00aeef);
}

/* ── Panels ───────────────────────────────────────────────────────────── */
.is-lock-panel        { display: none; padding: 28px 32px 32px; }
.is-lock-panel.active { display: block; }

.is-lock-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--isb2b-dark, #333);
    margin: 0 0 6px;
}

.is-lock-subtext {
    font-size: 13px;
    color: var(--text-gray, #666);
    margin: 0 0 18px;
    line-height: 1.5;
}

.is-lock-forgot {
    margin: 0 0 14px;
    font-size: 13px;
}

.is-lock-forgot a {
    color: var(--isb2b-primary, #00aeef);
    text-decoration: none;
}

.is-lock-forgot a:hover { text-decoration: underline; }

/* ── Two-column grid (name/company, email/phone) ──────────────────────── */
.is-lock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

@media (max-width: 520px) {
    .is-lock-panel          { padding: 22px 20px 24px; }
    .is-lock-grid           { grid-template-columns: 1fr; }
}

/* ── Fields ───────────────────────────────────────────────────────────── */
.is-lock-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}

.is-lock-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--isb2b-body, #4b4b4b);
}

.is-lock-field input,
.is-lock-field textarea {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: var(--isb2b-dark, #333);
    width: 100%;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}

.is-lock-field input:focus,
.is-lock-field textarea:focus {
    outline: none;
    border-color: var(--isb2b-primary, #00aeef);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, .15);
}

.is-lock-field textarea { resize: vertical; }

.is-req { color: #c0392b; font-size: 11px; }

/* ── Messages ─────────────────────────────────────────────────────────── */
.is-lock-error,
.is-lock-success {
    font-size: 13px;
    margin: 0 0 12px;
    min-height: 1em;
}

.is-lock-error   { color: #c0392b; }
.is-lock-success { color: #27ae60; font-weight: 600; }

/* ── Submit ───────────────────────────────────────────────────────────── */
.is-lock-submit {
    width: 100%;
    padding: 11px;
    background: var(--isb2b-primary, #00aeef);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
    font-family: inherit;
}

.is-lock-submit:hover    { opacity: .88; }
.is-lock-submit:disabled { opacity: .55; cursor: not-allowed; }
