.mobile-edit-feedback {
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    margin: 10px 0;
    padding: 10px 12px;
}

.mobile-edit-feedback.is-success {
    background: #e8f7ee;
    color: #116735;
}

.mobile-edit-feedback.is-error {
    background: #fdeaea;
    color: #9f1c1c;
}

.mobile-profile-picture-editor,
.mobile-profile-form {
    border: 1px solid var(--mobile-border);
    border-radius: 14px;
    background: #fff;
    margin-top: 10px;
    padding: 12px;
}

.mobile-profile-picture-editor {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mobile-profile-picture-editor img {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    object-fit: cover;
    background: #eef1f4;
    flex: 0 0 auto;
}

.mobile-profile-picture-editor strong,
.mobile-profile-picture-editor small {
    display: block;
}

.mobile-profile-picture-editor strong {
    color: var(--mobile-primary);
    font-size: 15px;
}

.mobile-profile-picture-editor small {
    color: var(--mobile-muted);
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}

.mobile-inline-upload {
    display: grid;
    gap: 8px;
}

.mobile-inline-upload input[type="file"] {
    border: 1px dashed var(--mobile-border);
    border-radius: 10px;
    color: var(--mobile-muted);
    font-size: 12px;
    padding: 8px;
    width: 100%;
}

.mobile-inline-upload button,
.mobile-profile-form button[type="submit"] {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--mobile-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    padding: 0 12px;
}

.mobile-inline-upload button[data-remove-picture] {
    background: #f3e7e7;
    color: var(--mobile-secondary);
}

.mobile-form-heading {
    border-bottom: 1px solid var(--mobile-border);
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.mobile-form-heading strong,
.mobile-form-heading small {
    display: block;
}

.mobile-form-heading strong {
    color: var(--mobile-primary);
    font-size: 15px;
}

.mobile-form-heading small {
    color: var(--mobile-muted);
    font-size: 12px;
    line-height: 16px;
    margin-top: 2px;
}

.mobile-profile-form label {
    color: var(--mobile-primary);
    display: grid;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mobile-profile-form input,
.mobile-profile-form select,
.mobile-profile-form textarea,
.mobile-check-row input[type="number"] {
    border: 1px solid var(--mobile-border);
    border-radius: 10px;
    color: var(--mobile-text);
    font-size: 14px;
    min-height: 42px;
    padding: 9px 10px;
    width: 100%;
}

.mobile-profile-form textarea {
    min-height: 80px;
    resize: vertical;
}

.mobile-form-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-check-row {
    border: 1px solid var(--mobile-border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.mobile-check-row label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-check-row input[type="checkbox"],
.mobile-health-grid input[type="checkbox"] {
    width: 18px;
    min-height: 18px;
    accent-color: var(--mobile-primary);
}

.mobile-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.mobile-health-grid label {
    border: 1px solid var(--mobile-border);
    border-radius: 10px;
    color: var(--mobile-text);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
    padding: 9px;
}

html[data-adjaf-theme="black"] .mobile-profile-picture-editor,
html[data-adjaf-theme="black"] .mobile-profile-form,
html[data-adjaf-theme="black"] .mobile-check-row,
html[data-adjaf-theme="black"] .mobile-health-grid label {
    background: #050505 !important;
    border-color: #242424 !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

html[data-adjaf-theme="black"] .mobile-inline-upload button,
html[data-adjaf-theme="black"] .mobile-profile-form button[type="submit"] {
    background: #9bd3ff !important;
    color: #00111f !important;
}

html[data-adjaf-theme="black"] .mobile-inline-upload button[data-remove-picture] {
    background: rgba(255, 113, 107, .16) !important;
    color: #ff716b !important;
}

html[data-adjaf-theme="black"] .mobile-inline-upload input[type="file"],
html[data-adjaf-theme="black"] .mobile-profile-form input,
html[data-adjaf-theme="black"] .mobile-profile-form select,
html[data-adjaf-theme="black"] .mobile-profile-form textarea {
    background: #000 !important;
    border-color: #242424 !important;
    color: #f8fafc !important;
}

@media (max-width: 380px) {
    .mobile-form-grid.two,
    .mobile-check-row,
    .mobile-health-grid {
        grid-template-columns: 1fr;
    }

    .mobile-profile-picture-editor {
        flex-direction: column;
    }
}
