body {
    /* overflow-x: hidden; */
    overflow-y: auto;
    padding-top: 80px;
    padding-bottom: 60px;
}

/* ── Header & Footer (same as login) ── */
.page-header {
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
}

.help-header-logo {
    max-width: 100px;
}

.page-footer {
    width: 100%;
    height: 40px;
    position: fixed;
    bottom: 0;
    color: #fff;
    box-shadow: inset 0 40px 50px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    padding: 0 30px;
    font-size: 14px;
    z-index: 10;
    padding-top: 10px;
}

.page-footer a {
    text-decoration: none;
    color: #fff;
}

.page-footer a:hover {
    text-decoration: underline;
}

.btn-help {
    color: #18a195;
    background-color: #fff;
    border-radius: 20px;
    padding: 7px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.btn-help:hover {
    color: #148a78;
    background-color: #f0f0f0;
}

/* ── Main Layout Wrapper ── */
.help-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Main Card ── */
.help-card {
    /* overflow-y: auto;
    max-height: 90vh; */
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 680px;
    background: #fdfdfc;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    animation: cardIn 0.65s cubic-bezier(.22, 1, .36, 1) both;
    margin: 0;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Card Header ── */
.help-card-header {
    text-align: center;
    padding: 36px 44px 8px;
}

.help-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #18a195;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(26, 158, 138, 0.3);
}

.help-icon-wrap i {
    font-size: 1.5rem;
    color: #fff;
}

.help-title {
    font-weight: 700;
    color: #2b2d42;
    margin-bottom: 6px;
    font-size: 1.5rem;
    letter-spacing: -0.3px;
}

.help-subtitle {
    color: #7a7e8c;
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ── Form ── */
.help-form {
    padding: 24px 44px 40px;
}

/* ── Form Group ── */
.help-form-group {
    margin-bottom: 18px;
}

/* ── Labels & Floating Labels ── */
.help-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.help-required {
    color: #e74c3c;
    font-weight: 700;
}

.help-float-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.help-float-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.92rem;
    font-weight: 500;
    color: #aab0bb;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background: transparent;
    padding: 0 4px;
}

/* For textarea, align label to top */
.help-float-group .help-textarea ~ .help-float-label {
    top: 24px;
    transform: translateY(-50%);
}

/* Floating state (inset) */
.help-float-group .help-input:focus ~ .help-float-label,
.help-float-group .help-input:not(:placeholder-shown) ~ .help-float-label,
.help-float-group .help-textarea:focus ~ .help-float-label,
.help-float-group .help-textarea:not(:placeholder-shown) ~ .help-float-label,
.help-float-group .help-select:focus ~ .help-float-label,
.help-float-group .help-select:valid ~ .help-float-label,
.help-float-group.help-float-filled .help-float-label {
    top: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    background: transparent;
}

/* Active focus color */
.help-float-group .help-input:focus ~ .help-float-label,
.help-float-group .help-textarea:focus ~ .help-float-label,
.help-float-group select:focus ~ .help-float-label {
    color: #18a195;
}

/* ── Text Inputs ── */
.help-input {
    display: block;
    width: 100%;
    border: 1.5px solid #e0e4eb;
    border-radius: 15px;
    padding: 22px 18px 8px 18px;
    font-size: 0.92rem;
    color: #444;
    background: #f7f7f5;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    scroll-margin-top: 100px;
}

.help-input::placeholder,
.help-textarea::placeholder {
    color: transparent;
}
.help-input:focus::placeholder,
.help-textarea:focus::placeholder {
    color: #999; /* choose any color */
}

.help-input:focus {
    border-color: #18a195;
    box-shadow: 0 0 0 3px rgba(26, 158, 138, 0.12);
    background: #fff;
}

/* ── Textarea ── */
.help-textarea {
    display: block;
    width: 100%;
    border: 1.5px solid #e0e4eb;
    border-radius: 15px;
    padding: 22px 18px 12px 18px;
    font-size: 0.92rem;
    color: #444;
    background: #f7f7f5;
    outline: none;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    scroll-margin-top: 100px;
}

.help-textarea:focus {
    border-color: #18a195;
    box-shadow: 0 0 0 3px rgba(26, 158, 138, 0.12);
    background: #fff;
}

/* ── Select ── */
.help-select-wrap {
    position: relative;
}

.help-select {
    display: block;
    width: 100%;
    border: 1.5px solid #e0e4eb;
    border-radius: 15px;
    padding: 22px 40px 8px 18px;
    font-size: 0.92rem;
    color: #444;
    background: #f7f7f5;
    outline: none;
    /* appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; */
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    scroll-margin-top: 100px;
}

.help-select:focus {
    border-color: #18a195;
    box-shadow: 0 0 0 3px rgba(26, 158, 138, 0.12);
    background: #fff;
}

.help-select option[value=""][disabled] {
    color: #aab0bb;
}

.help-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.75rem;
    pointer-events: none;
}

/* ── Row Layout ── */
.help-row {
    display: flex;
    gap: 16px;
}

.help-col {
    flex: 1;
    min-width: 0;
}

/* ── File Upload ── */
.help-file-wrap {
    position: relative;
    border: 2px dashed #d5d8de;
    border-radius: 15px;
    padding: 24px 18px;
    text-align: center;
    background: #f7f7f5;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.help-file-wrap.dragover {
    border-color: #18a195;
    background: rgba(26, 158, 138, 0.05);
}

.help-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.help-file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
    transition: opacity 0.2s;
}

.help-file-placeholder.hidden {
    display: none;
}

.help-file-placeholder i {
    font-size: 1.6rem;
    color: #18a195;
}

.help-file-placeholder span {
    font-size: 0.85rem;
}

.help-file-selected {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2b2d42;
    font-size: 0.88rem;
}

.help-file-selected.visible {
    display: flex;
}

.help-file-selected i {
    color: #18a195;
}

.help-file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 3;
    position: relative;
}

.help-file-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

.help-helper-text {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #999;
}

/* ── Divider ── */
.help-divider {
    border: none;
    border-top: 1px solid #ececec;
    margin: 24px 0;
}

/* ── Radio Buttons ── */
.help-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.help-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 20px;
    border: 1.5px solid #e0e4eb;
    border-radius: 15px;
    background: #f7f7f5;
    flex: 1;
    min-width: 160px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    position: relative;
}

.help-radio-label:hover {
    border-color: #c8ccd4;
    background: #f0f0ed;
}

.help-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    top: 50%;
    left: 20px;
    z-index: -1;
}

.help-radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c8ccd4;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.help-radio-label input[type="radio"]:checked ~ .help-radio-custom {
    border-color: #18a195;
}

.help-radio-label input[type="radio"]:checked ~ .help-radio-custom::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #18a195;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.help-radio-label input[type="radio"]:checked ~ .help-radio-text {
    color: #18a195;
    font-weight: 600;
}

.help-radio-text {
    font-size: 0.88rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-radio-text i {
    font-size: 0.85rem;
}

/* ── Callback Fields ── */
.help-callback-fields {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.help-callback-fields.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 18px;
}

/* ── Call Notice ── */
.help-call-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: #fef8ec;
    border: 1px solid #f5dfa0;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #8a6d00;
    margin-top: 4px;
}

.help-call-notice i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Checkboxes ── */
.help-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
    position: relative;
}

.help-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    top: 50%;
    left: 10px;
    z-index: -1;
    scroll-margin-top: 100px;
}

.help-checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #c8ccd4;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.help-checkbox-label input[type="checkbox"]:checked ~ .help-checkbox-custom {
    border-color: #18a195;
    background: #18a195;
}

.help-checkbox-label input[type="checkbox"]:checked ~ .help-checkbox-custom::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%) rotate(45deg);
}

.help-checkbox-text {
    flex: 1;
}

.help-checkbox-text a {
    color: #18a195;
    text-decoration: none;
    font-weight: 500;
}

.help-checkbox-text a:hover {
    text-decoration: underline;
    color: #148a78;
}

/* ── Turnstile Captcha ── */
.turnstile-captcha-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* ── Submit Button ── */
.help-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 15px;
    background: #18a195;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.3s;
    margin-top: 6px;
}

.help-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 158, 138, 0.35);
}

.help-submit-btn:active {
    transform: translateY(0);
}

.help-submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.help-submit-btn:hover i {
    transform: translateX(3px);
}

.help-submit-btn.loading {
    opacity: 0.8;
    pointer-events: none;
    box-shadow: none;
}
.help-submit-btn.loading i {
    transform: none;
}

/* ── Community Buttons ── */
.help-community-buttons {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

/* ── Kerno Community Dark Card ── */
.kerno-community-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #081e20;
    border-radius: 20px;
    padding: 32px 26px;
    margin-top: 30px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(37, 204, 180, 0.15);
    animation: cardIn 0.75s cubic-bezier(.22, 1, .36, 1) both;
}

.community-card-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.035;
    pointer-events: none;
    width: 340px;
    max-width: 90%;
}

.community-card-watermark img {
    width: 100%;
    height: auto;
}

.community-card-content {
    position: relative;
    z-index: 2;
}

.community-badge {
    display: inline-block;
    color: #18a195;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.community-title {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.community-subtitle {
    color: #A2A2A2;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 22px;
    line-height: 1.45;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.community-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.community-desc {
    color: #d1d5db;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.community-item .help-community-btn {
    width: 100%;
    margin-top: auto;
}

.help-community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.help-community-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.help-community-btn:active {
    transform: translateY(0);
}

/* Facebook Button */
.btn-facebook {
    background: #1877F2;
}

.btn-facebook:hover {
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.icon-fb-badge {
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1877F2;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Discord Button */
.btn-discord {
    background: #5865F2;
}

.btn-discord:hover {
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.icon-discord-wrap {
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Validation Errors ── */
.help-error-msg {
    display: block;
    color: #e74c3c;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 5px;
    padding-left: 14px;
    animation: errorFadeIn 0.25s ease-out;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-input.help-invalid,
.help-textarea.help-invalid,
.help-select.help-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.help-input.help-invalid:focus,
.help-textarea.help-invalid:focus,
.help-select.help-invalid:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.help-checkbox-custom.help-invalid {
    border-color: #e74c3c;
}

/* ── Alerts (Bootstrap overrides) ── */
.help-form .alert {
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    body {
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .help-card {
        margin: 0 12px;
        border-radius: 18px;
    }

    .help-card-header {
        padding: 28px 24px 4px;
    }

    .help-form {
        padding: 20px 24px 32px;
    }

    .help-row {
        flex-direction: column;
        gap: 0;
    }

    .help-radio-group {
        flex-direction: column;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .kerno-community-card {
        padding: 22px 16px;
    }

    .community-title {
        font-size: 1.3rem;
    }

    .help-title {
        font-size: 1.25rem;
    }

    .page-footer {
        font-size: 11px;
        padding: 0 12px;
        padding-top: 10px;
    }
}

.yellow-line::after {
    content: url('../images/long-yellow-underline.png');
    position: absolute; 
    bottom: -13px; 
    left: 8px; 
    width: 100%; 
    display: inline-block; 
    height: auto; 
    z-index: 999; 
}
.yellow-line {position: relative; }
