/**
 * Text Generator Editor Styles
 */

/* Generate Text Button */
.unlockafe-generate-text-button {
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #4054b2;
    border-color: #4054b2;
    color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.unlockafe-generate-text-button:hover {
    background-color: #3448a0;
    border-color: #3448a0;
}

.unlockafe-generate-text-button i {
    margin-right: 5px;
}

/* Modal Styles - Enhance Elementor's Default Dialog */
.unlockafe-text-generator-modal .dialog-lightbox-widget-content {
    max-width: 600px;
    width: 90%;
}

.unlockafe-text-generator-modal-body {
    padding: 0 20px;
}

.unlockafe-modal-form-group {
    margin-bottom: 20px;
}

.unlockafe-modal-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #556068;
}

.unlockafe-modal-input,
.unlockafe-modal-select,
.unlockafe-modal-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d5dadf;
    border-radius: 3px;
    background-color: #ffffff;
    box-shadow: none;
    color: #495157;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s;
}

.unlockafe-modal-input:focus,
.unlockafe-modal-select:focus,
.unlockafe-modal-textarea:focus {
    border-color: #4054b2;
    outline: none;
}

.unlockafe-modal-textarea {
    min-height: 100px;
    resize: vertical;
}

.unlockafe-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    gap: 10px;
}

/* Loading Animation */
.eicon-animation-spin {
    animation: unlockafe-spin 2s infinite linear;
}

@keyframes unlockafe-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
