.lngp-wrap {
    font-family: 'Arial', sans-serif;
    margin: 1em 0;
}

#lngp-note-box .note-card {
    border-left: 4px solid #f75c6c;
    background: #fff3f5;
    padding: 1rem;
    margin-top: 1em;
    font-size: 1.1em;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#lngp-note-box .note-card button,
.share-links a,
.share-links span {
    margin-top: 10px;
    padding: 6px 12px;
    background: #f75c6c;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.share-links {
    margin-top: 10px;
    font-size: 0.9em;
}

/* This class disables interaction and grays out buttons */
.disabled-button {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* This class is used for interactive locked elements */
.locked {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}

#lngp-category,
#lngp-generate {
    margin-right: 10px;
    padding: 6px 10px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    #lngp-ai-fields {
        background: #fffbe6;
        border: 2px dashed #ffcc00;
        padding: 10px;
    }
}

/* Default state for the login message */
.ai-login-msg {
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
    display: none;
    background-color: #fffbe6;
    border: 2px dashed #ffcc00;
    max-height: 0;
}

/* When the login message is shown */
.ai-login-msg.show {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    padding: 10px;
    margin-top: 10px;
    background-color: #fffbe6;
    border: 2px dashed #ffcc00;
    max-height: 1000px;
}

.ai-login-msg.hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0 !important;
}

#lngp-generate.used {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ✅ Shake animation for required dropdown validation */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s ease;
    border-color: red !important;
}

.lngp-success-msg {
    animation: shake 0.5s ease;
}

#lngp-login-inline {
    padding: 6px 10px;
    background-color: #fff8db;
    border: 1px solid #f0e0a0;
    border-radius: 4px;
    display: inline-block;
}
