.adaptivex-template-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.adaptivex-template-button:hover {
    background-color: #45a049;
}

.adaptivex-template-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.adaptivex-template-button .spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid #000;
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

.adaptivex-template-button.loading .spinner {
    display: block;
}

.adaptivex-template-button.loading .button-text {
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.template-button-box .adaptivex-template-button {
    background-color: #fff;
    color: #000;
}