.lqdai-action{
    display: inline-flex!important;
    align-items: center!important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    width: auto!important;
}

.lqdai-action .dashicons{
    margin-right: 10px;
    animation: rotate 3s linear infinite;
}

.lqdai-action .dashicons{
    z-index: 2;
    margin-right: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    border-radius: 100%;
}

.lqdai-action-classic{
    background-color: #1e1e1e;
    color: #fff;
    height: 45px;
    padding: 0 2em;
    border-radius: 3px;
    margin: 15px 5px 0 0;
    cursor: pointer;
}

.lqdai-template-header .components-button {
	height: 60px;
	display: inline-flex;
	align-items: center;
	color: #fff;
    cursor: pointer;
}

#elementor-switch-mode{
    display: inline;
}
#elementor-switch-mode-button{
    margin-top: 15px;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

/* Template CSS */

.lqdai-template{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(4px);
    z-index: 9999999;
    display: none;
    place-content: center;
}

.lqdai-template-wrapper{
    width: 768px;
    height: auto;
    background-color: #fff;
    box-shadow: 0 0 40px #eee;
    overflow: auto;
}

.lqdai-template-header{
    display: flex;
    justify-content: space-between;
    background-color: #1e1e1e;
    height: 60px;
    padding: 0 25px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

#lqdai-form-result{
    display: none;
}

.lqdai-template-content.result #lqdai-form-result{
    display: block;
}
.lqdai-template-content.result #lqdai-form{
    display: none;
}

.lqdai-template-header .components-button{
    height: 60px;
}

.lqdai-template-header .components-button.logo .dashicons{
    margin-right: 10px;
}

.lqdai-template-content{
    padding: 30px;
}

.lqdai-form .form-field{
    margin-bottom: 1.5em;
}

.lqdai-form .form-field :where(input[type="text"], input[type="number"], textarea, select){
    width: 100%!important;
    max-width: 100%;
}

.lqdai-form .form-field > *{
    margin: .3em 0;
}

.lqdai-form .form-field:not(.options) label{
    display: block;
}

.lqdai-form .form-field .description{
    display: block;
}

.lqdai-form .button{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.lqdai-form .button .lds-ripple{
    margin-right: 15px;
    margin-inline-start: -15px;
}

.lqdai-form--title{
    padding-bottom: .67em;
    border-bottom: 1px solid #eee;
}

.lqdai-recreate{
    text-align: center;
    cursor: pointer;
}

.lds-ripple {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #000;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 15px;
        left: 15px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 15px;
        left: 15px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 15px;
        left: 15px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 30px;
        height: 30px;
        opacity: 0;
    }
}

.lqdai-form .button.disabled .lds-ripple{
    display:inline-block;
}

.lqdai-options :where( input, select ):not(input[type="submit"]){
    width: 25em;
}

.lqdai-logs{
    width: 100%;
    height: 80vh;
    background-color: #fff;
    box-shadow: 0 0 20px #ddd;
    overflow: auto;
}

.generated-images{
    display: none;
}

.generated-images-option {
    display: inline-block;
    text-align: center;
}
.generated-images-option input[type="radio"] {
    display: none;
}
.generated-images-option label {
    display: block;
    cursor: pointer;
}
.generated-images-option img {
    border: 4px solid transparent;
    display: block;
    width: 168px;
    height: 168px;
    object-fit: cover;
}
.generated-images-option input[type="radio"]:checked + label img {
    border-color: #2271b1;
}

.generated-images-wrapper {
    display: flex;
    justify-content: space-between;
}