#wpuf_mailchimp_api_form input.wpuf_mailchimp_api {
    width:50%;
}
.wpuf_mc_wrapper{
    overflow: hidden;
}

p#wpuf_mc_api{
    float: left;
    font-size: 15px;
    margin: 0px;
}


#wpuf_mc_api_remove_action{
    float: right;
    margin-right: 15px;
}

#wpuf_mc_api_refresh_action{
    float: right;
    margin-right: 15px;
}

/* Integration Conditional Logic Styles */
.wpuf-integration-conditional-logic-container {
    transition: opacity 0.2s ease-in-out;
}

.wpuf-integration-conditional-logic-container .wpuf-conditional-logic-settings {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wpuf-integration-conditional-logic-container .wpuf-conditional-rule {
    position: relative;
    padding-right: 60px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .wpuf-integration-conditional-logic-container .wpuf-conditional-rule {
        grid-template-columns: 1fr !important;
        padding-right: 0;
    }
    
    .wpuf-integration-conditional-logic-container .wpuf-absolute {
        position: static !important;
        justify-content: center;
        margin-top: 0.5rem;
    }
}