body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}
.elementor-widget-bdt-user-login .bdt-input {
    padding: 5px 10px !important;
}
.password-update-error {
    text-align: center;
}

.loading-spinner {
    text-align: center;
    padding: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #b748ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}
.ai-download-button {
    background-color: var(--e-global-color-uicore_primary);
    color: var(--e-global-color-uicore_white);
    border-color: var(--e-global-color-uicore_primary);
    padding: 18px 37px 18px 37px;
    border-radius: 5px;
    font-weight: 600;   
    margin-top: 10px
}
.ai-design-rights-button {
    background:white;
    padding: 18px 37px 18px 37px;
    border-radius: 5px;
    font-weight: 500;
}
.ai-ai-button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
a.ai-design-rights-button {
    margin-top: 30px;
    padding: 10px 30px;
    color:#000;
    font-size: 18px;
    width: 48%;
    text-align: center;
    margin-left: 0px !important;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

div#ai-result, #album-cover-result {
    display: flex;
    justify-content: center;
}

.ai-generated {
    max-width: 550px;
    /* margin: 20px auto; */
    /* padding: 20px; */
    /* background: #fff; */
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.e-my-account-tab.e-my-account-tab__dashboard {
    .ai-image-container img font-family: 'DM Sans';
}

.ai-generated h3 {
    text-align: center;
    margin-bottom: 20px;
}

.ai-generated img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 4px !important;
    border: 2px dotted white !important;
}

.ai-details {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.ai-details p {
    margin: 5px 0;
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}


button.ai-download-button,
.ai-btn {
    /* padding: 10px 15px; */
    padding: clamp(14px, .8em, 18px) clamp(18px, 1.8em, 36px);
    margin-top: 30px;
    border-radius: 6px 6px 6px 6px;
    font-family: "DM Sans", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: None;
    line-height: 1em;
    letter-spacing: 0em;
    color: white;
    background-color: #b748ff;
    /* border-style: solid; */
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-uicore_headline);
    cursor: pointer;
}

.ai-download-button:hover,
.ai-btn:hover {
    background-color: #921ae0 !important;
    color: white !important;
}

.ai-image-container {
    text-align: right;
}

.ai-buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-buttons button {
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.ai-image-container img {
    min-width: 530px;
    border: 2px dotted white !important;
}

.default-img img {
    min-width: 530px;
}
.ai_progress_bar span.eael-progressbar-line-fill, .ai_progress_bar .eael-progressbar.eael-progressbar-line {
    border-radius: 25px;
}
.my-cards,
.dashboar-my-cards {
    /* text-align: center; */
    margin: 20px 0;
}

.my-cards h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--uicore-typography--h2-f, "Inter");
    font-weight: var(--uicore-typography--h2-w, "600");
    line-height: var(--uicore-typography--h2-h, "1.2");
    letter-spacing: var(--uicore-typography--h2-ls, "-0.027em");
    text-transform: var(--uicore-typography--h2-t, "none");
    font-style: var(--uicore-typography--h2-st, "normal");
    color: var(--uicore-typography--h2-c, "#070707");
    font-size: var(--uicore-typography--h2-s, "10px");
    margin-bottom: 100px;
}


.cards-grid {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-cards-grid {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.ai-item {
    width: 250px;
    /* height: 185px; */
    overflow: hidden;
    /* border-radius: 8px; */
    margin-bottom: 15px;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
}

.dashboard-ai-item {
    width: 250px;
    /* height: 185px; */
    overflow: hidden;
    /* border-radius: 38px; */
    margin-bottom: 15px;
    text-align: right;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
}

.dashboard-ai-item img,
.ai-item img {
    border-radius: 8px !important;
}

.ai-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-ai-download,
.upgrade-button {
    /* padding: 20px 36px 20px 36px !important; */
    padding: clamp(14px, .8em, 18px) clamp(18px, 1.8em, 36px) !important;
}

.ai-delete-button {
    background-color: black !important;
}

.woocommerce-MyAccount-content-wrapper {
    background: transparent !important;
}

.credits-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.e-my-account-tab__dashboard {
    display: none;
}

div#overlay_popup_tatto {
    left: 0;
    right: 0;
    max-width: 80%;
    margin: auto;
}

.credits-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.credits-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) {
    padding: 5px 0 !important;
}

.credits-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

button#place_order {
    height: auto;
    padding: 20px 36px 20px 36px;
    line-height: 0px !important;
    height: 60px !important;
    font-size: 16px !important;
    /* display: block; */
}

.credits-amount {
    text-align: center;
}

.credits-number {
    font-size: 3em;
    font-weight: bold;
    color: #b748ff;
    display: block;
}

.credits-label {
    color: #666;
    font-size: 0.9em;
}

.credits-info {
    flex: 1;
    padding-left: 30px;
}

.credits-low {
    color: #f44336;
    font-weight: bold;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.package-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card h5 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

.package-details {
    margin: 15px 0;
}

.package-details .credits {
    display: block;
    font-size: 1.5em;
    color: #b748ff;
    font-weight: bold;
}

.package-details .price {
    display: block;
    color: #666;
    margin-top: 5px;
}



@media (max-width: 768px) {
    .credits-content {
        flex-direction: column;
        text-align: center;
    }

    .credits-info {
        padding-left: 0;
        margin-top: 20px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-ai-item {
        width: 90%;
    }

    .dashboard-cards-grid {
        justify-content: center;
    }
}

.menu-item-32633 {
    display: block !important;
}

.menu-item-34709 {
    display: block !important;
}
p#wc-stripe-express-checkout-button-separator {
    display: none !important;
}
wc-order-attribution-inputs#wc-stripe-express-checkout__order-attribution-inputs {
    display: none;
}
.menu-item-32592 {
    display: none !important;
}

.logged-in .menu-item-32592 {
    display: block !important;
}

.logged-in .menu-item-32633,
.logged-in .menu-item-33752,
.logged-in .menu-item-34709 {
    display: none !important;
}



@media print {
    .ai-image-container {
        display: none !important;
    }
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a {
    color: black !important;
}

.test {
    background-color: #FFD7C3;
    columns: #FF9966;
}

/* Full-screen overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* semi-transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Centering the loading spinner */
.loading-spinner {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

button.ai-download-button {
    padding: 21px 36px 21px 36px;
}

.menu-item-33753 {
    display: none !important;
}

.logged-in .menu-item-33753 {
    display: block !important;
}

.upgrade-overlay-container {
    position: relative;
    margin: 20px 0;
}

.upgrade-message {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 30px 60px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.credits-info p {
    margin: 0px;
}

.upgrade-message h3 {
    margin-bottom: 35px;
    color: #333;
}

.ai_login_form a {
    font-size: 20px !important;
    font-weight: 400;
}

.upgrade-message p {
    margin-bottom: 20px;
    color: #666;
}

p.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated {
    width: 100%;
}


.blur_form form {
    opacity: 0.1;
}

.custom-account-settings {
    /* max-width: 500px; */
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 20px;
    /* background-color: #f9f9f9; */
    border-radius: 8px;
    flex-wrap: wrap;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.custom-account-settings h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.settings-section {
    background-color: rgba(146, 26, 224, 0.14);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    width: 49%;
}



.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-change-password,
.btn-delete-account {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-change-password {
    background-color: #4CAF50;
    color: white;
}

.btn-delete-account {
    background-color: #f44336;
    color: white;
    margin-top: 10px;
}

.btn-change-password:hover {
    background-color: #45a049;
}

.btn-delete-account:hover {
    background-color: #d32f2f;
}



.activation-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.activation-message.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.activation-message.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Password recovery form */

.password-recovery-form-container,
.password-update-form-container {
    /* max-width: 400px; */
    margin: 0px auto;
    padding: 20px;
    /* background: #1e87f021; */
    border-radius: 3px;
/*     border: 1px solid #E1DFD6; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.password-recovery-form-container h3 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 100%;
    /* padding: 8px; */
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-primary {
    background: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.button-primary:hover {
    background: #921ae0 !important;
}

.password-recovery-error {
    color: #dc3232;
    padding: 10px;
    margin-bottom: 20px;
    background: #fff;
    border-left: 4px solid #dc3232;
}

.password-recovery-success {
    color: #46b450;
    padding: 10px;
    margin-bottom: 20px;
    background: #fff;
    border-left: 4px solid #46b450;
}

@media (max-width: 480px) {
    .password-recovery-form-container {
        margin: 10px;
        padding: 15px;
    }

    .ai-generated {
        min-width: 330px;
        padding: 0px;
    }
}


.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 20px;
    color: #000;
    margin-bottom: 8px;
    font-weight: normal;
}

.form-group input {
    width: 100%;
    /* padding: 12px; */
    border: none;
    background-color: #f8f8f8;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.register-button {
    /* width: 100%; */
    padding: 12px;
    background-color: #b748ff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #921ae0 !important;
}

.form-footer {
    /* text-align: center; */
    font-size: 20px;
    font-weight: 400;
}

.footer-link {
    color: #921ae0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #921ae0;
}

.separator {
    color: #921ae0;
    margin: 0 8px;
}

/* Messages styling */
.error {
    background-color: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #DC2626;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.success {
    background-color: #D1FAE5;
    border: 1px solid #6EE7B7;
    color: #059669;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.woocommerce-additional-fields {
    display: none;
}

h3#order_review_heading {
    display: none;
}

/*
div#custom-checkout-form-cards {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}

 */
form.checkout.woocommerce-checkout {
    /* display: flex !important; */
    visibility: hidden;
}

.checkout h3 {
    font-size: 20px;
    font-weight: bold;
}

.woocommerce form.woocommerce-checkout .woocommerce-checkout-review-order-table {
    padding: 0px 40px 0px 0px !important;
}

ul.wc_payment_methods.payment_methods.methods,
.form-row.place-order {
    padding: 20px 0px 0px 0px !important;
}

/* Popup Container */
.ai-ai-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Popup Content */
.ai-ai-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
}

/* Close Button */
.ai-ai-close-btn {
    color: #b748ff;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.ai-ai-close-btn:hover {
    color: black;
}
.ai-image-container {
    text-align: right;
    max-width: 94%;
}
div#aiAIModal h2 {
    font-size: 25px;
}

/* Popup Inner Content */
.ai-ai-modal-inner {
    padding: 20px;
    /* background-color: white; */
    color: black;
    /* border-radius: 8px; */
    margin-top: 15px;
}
a.ai-design-rights-button:hover {
    background: #921ae0;
    color: white;
}
div#ai-result .ai-download-button {
    padding: 18px 30px;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
}
/* Responsive Design */
@media screen and (max-width: 600px) {
    .ai-ai-modal-content {
        width: 90%;
        margin: 25% auto;
     }
    button.ai-download-button {
    padding: 15px;
    }
    a.ai-design-rights-button {
    padding: 10px;
}
}

button.ai-btn.delete-no-button.btn.btn-secondary {
    background: black;
}

.logged-in .menu-item-575 {
    display: block !important;
}
.menu-item-575, .menu-item-51997 {
    display: none !important;
}
table.shop_table.woocommerce-checkout-review-order-table {
    background: none !important;
}


.menu-item-340 {
    display: block !important;
}
 .logged-in .menu-item-340 {
    display: none !important;
}
/* .menu-item-51710, .menu-item-51709 {
    display: none !important;
} */ 
tr.woocommerce-shipping-totals.shipping {
    display: none;
}

a.bdt-lost-password, .bdt-register {
    font-size: 20px;
}
.bdt-user-login-password a {
    position: relative;
    display: inline-block;
    font-size: 20px !important;
}

div#ai-result .ai-download-button, #album-cover-result .ai-download-button {
    margin-right: -33px;
    width: 48%;
}

@media (max-width: 768px) {
    .upgrade-message {
        padding: 10px 10px 45px 10px;
    }

    div#overlay_popup_tatto {
        max-width: 90%;
    }

    .default-img img {
        min-width: auto;
    }

    .ai-item {
        width: 100%;
        height: auto;
        overflow: hidden;
        /* border-radius: 8px; */
        margin-bottom: 15px;
        box-shadow: none;
    }

    .settings-section {

        width: 100%;
    }

    .ai-image-container img {
        min-width: auto;
    }
    .ai-image-container {
    text-align: right;
    max-width: 92%;
}
div#ai-result .ai-download-button {
    padding: 16px 30px;  
    }
    a.ai-design-rights-button {
        font-size: 16px;
    }
}

div#payment {
    background: none !important;
}