#aing-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

#aing-form label {
    display: block;
    font-weight: 600;
    margin: 0;
    color: #333;
}

#aing-form input[type="text"],
#aing-form input[type="url"],
#aing-form textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

#aing-form input:focus,
#aing-form textarea:focus {
    border-color: #2271b1;
    outline: none;
}

#aing-form textarea {
    min-height: 120px;
    resize: vertical;
}

.aing-publish-options,
.aing-mode-switch,
.aing-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}

.aing-publish-options > span {
    font-weight: 600;
    color: #333;
}

.aing-publish-options label,
.aing-mode-switch label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
}

.aing-mode-switch {
    background: #f8fbff;
}

#aing-form button {
    align-self: flex-start;
    margin-top: 8px;
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#aing-form button:hover {
    background: #135e96;
}

#aing-result {
    margin-top: 8px;
    padding: 12px;
    border-radius: 4px;
    background: #f5f5f5;
    font-size: 14px;
}

#aing-result.success {
    background: #e6f6ea;
    border: 1px solid #6fcf97;
}

#aing-result.error {
    background: #fdecea;
    border: 1px solid #eb5757;
}

@media (max-width: 768px) {

    #aing-form {
        padding: 18px;
    }

    #aing-form button {
        width: 100%;
    }

}
