/* ── Modal components ─────────────────────────────────────────────── */

.modal-content h2 {
    color: #fff;
    margin-top: 0;
    text-align: center;
}

.modal-price {
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.notice {
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #8b949e;
}

.notice-info { background: rgba(88, 166, 255, 0.05); }
.notice-warning { background: rgba(255, 68, 68, 0.05); margin-bottom: 20px; }

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}

.modal-actions .cta-btn,
.modal-actions .p-btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
}

.p-btn-cancel {
    border-color: #f14c4c;
    color: #ff6b6b;
}

/* Captcha */
.captcha-box {
    background: #090d13;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.captcha-label {
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-question {
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    min-width: 60px;
}

.captcha-input {
    max-width: 80px;
    padding: 8px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #fff;
}

.captcha-input-wide { flex: 1; max-width: none; }

/* Payment selector */
.payment-selector {
    background: #090d13;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.payment-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #161b22;
    border: 1px solid #30363d;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
}

.card-element {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 12px;
    border-radius: 6px;
    color: #fff;
    margin-top: 15px;
}

.card-errors {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 8px;
    display: none;
}

.bitcoin-notice {
    margin-top: 15px;
    background: rgba(241, 142, 23, 0.05);
    border: 1px solid #f18e17;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #f18e17;
}

/* Verification code inputs */
.v-box-input {
    width: 100%;
    max-width: 45px;
    height: 50px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: center;
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    font-family: monospace;
}

.v-box-input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 198, 255, 0.2);
}

.verify-intro {
    font-size: 14px;
    text-align: center;
    color: #8b949e;
    margin-bottom: 20px;
}

.verify-code-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 8px;
}

.verify-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 20px;
}

.verify-footer button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: bold;
    padding: 0;
}

.verify-success h3 {
    color: #34d399;
    margin-top: 0;
}

.verify-success p {
    color: #8b949e;
    font-size: 13px;
}

.verify-success-btn {
    width: 100%;
    padding: 12px 0;
    font-weight: bold;
}

/* Login modal */
.login-modal { display: none; }

.login-modal-content {
    max-width: 400px;
    position: relative;
}

.login-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #8b949e;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
}

.login-title {
    color: #00c6ff;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.login-desc {
    color: #8b949e;
    font-size: 13px;
    margin-bottom: 20px;
}

.login-submit {
    width: 100%;
    padding: 12px 0;
    font-weight: bold;
}

/* Client hub dashboard */
.hub-loading {
    text-align: center;
    padding: 20px;
}

.hub-loading-icon {
    font-size: 40px;
    color: #00c6ff;
}

.hub-panel {
    text-align: left;
    color: #fff;
    max-height: 80vh;
    overflow-y: auto;
}

.hub-title {
    color: #00c6ff;
    margin-bottom: 5px;
}

.hub-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.hub-tab {
    background: none;
    border: none;
    color: #8b949e;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.hub-tab-active { color: var(--accent); }

.hub-tab-logout {
    color: #ff6b6b;
    margin-left: auto;
}

.hub-desc {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 15px;
}

.hub-config-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
    align-items: center;
}

.hub-qr {
    background: #ffffff !important;
    width: 150px !important;
    height: 150px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
}

.hub-config-text {
    flex: 1;
    height: 130px;
    background: #090d13;
    color: #34d399;
    font-family: monospace;
    font-size: 11px;
    border: 1px solid #30363d;
    padding: 8px;
}

.hub-download {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    padding: 12px 0;
    margin-bottom: 20px;
}

.hub-info-box {
    margin-bottom: 15px;
    background: #161b22;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #30363d;
}

.hub-label {
    display: block;
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
}

.hub-update-btn {
    padding: 8px 15px;
    font-size: 12px;
    margin-top: 8px;
}

.hub-close-btn {
    width: 100%;
    background: transparent;
    color: #34d399;
    border: 1px solid #34d399;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
}

/* ── Page section components ────────────────────────────────────── */

.setup-card {
    text-align: left;
    background: #161b22;
    border: 1px solid #30363d;
    padding: 25px;
}

.setup-card-title {
    color: #fff;
    font-size: 16px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setup-step {
    font-size: 13px;
    color: #8b949e;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.setup-step-last { margin-bottom: 0; }

.price-card-featured { border-color: var(--accent); }

.price-subtext {
    min-height: 32px;
    margin: 0 0 15px 0;
}

.price-subtext-green {
    font-size: 11px;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-btn-accent {
    background: var(--accent);
    color: #000;
}

.trouble-card {
    text-align: left;
    background: #0d1117;
    border: 1px solid #21262d;
    padding: 20px;
}

.trouble-query {
    color: var(--accent);
    font-size: 14px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.trouble-response {
    font-size: 13px;
    color: #8b949e;
    margin: 0;
    line-height: 1.5;
}

.specs-column {
    flex: 1;
    min-width: 200px;
}

.specs-column-title {
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #8b949e;
}

.specs-list li::before {
    content: "• ";
    color: var(--accent);
}

/* Blog cards (support page) */
.blog-tag {
    font-size: 11px;
    font-weight: bold;
    background: var(--accent);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
}

.blog-title {
    color: #fff;
    margin: 10px 0 5px 0;
}

.blog-summary {
    font-size: 13px;
    color: #8b949e;
    line-height: 1.5;
}

.blog-read-btn {
    margin-top: 15px;
}

/* Support page */
.support-header {
    padding: 35px 20px 10px 20px;
    text-align: center;
}

.support-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.support-sub {
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.support-search-wrap {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
}

.support-search {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 12px 15px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

.support-blog-section,
.support-trouble-section {
    padding-top: 0;
}

.support-trouble-section {
    text-align: center;
}

.support-trouble-sub {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ticket-desk {
    padding: 40px 5%;
    max-width: 650px;
    margin: 30px auto;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-sizing: border-box;
}

.ticket-title {
    color: #fff;
    margin-top: 0;
    font-size: 20px;
}

.ticket-sub {
    color: #8b949e;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.ticket-directions {
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid #30363d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.5;
    color: #8b949e;
    text-align: left;
}

.ticket-message {
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.ticket-submit {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    font-size: 15px;
}

.article-modal-content {
    max-width: 600px;
}

.article-modal-title {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 22px;
}

.article-divider {
    border: 0;
    border-top: 1px solid #30363d;
    margin-bottom: 15px;
}

.article-modal-body {
    font-size: 14px;
    color: #c9d1d9;
    line-height: 1.6;
    text-align: left;
    white-space: pre-wrap;
}

.article-close-btn {
    width: 100%;
    margin-top: 25px;
    padding: 10px;
}
