.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit],
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:active,
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:hover,
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:disabled {
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.am-body-content a.button,
.am-body-content button,
.am-body-content input[type="button"],
.am-body-content input[type="submit"],
.am-popup a.button,
.am-popup button,
.am-popup input[type="button"],
.am-popup input[type="submit"] {
    color: white;
    background: #5d3bee;
    border-color: #5d3bee;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(93, 59, 238, 0.1);
}

.am-body-content a.button:hover,
.am-body-content button:hover,
.am-body-content input[type="button"]:hover,
.am-body-content input[type="submit"]:hover,
.am-popup a.button:hover,
.am-popup button:hover,
.am-popup input[type="button"]:hover,
.am-popup input[type="submit"]:hover {
    color: white;
    background: #4b30c3;
    border-color: #4b30c3;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(93, 59, 238, 0.15);
}

.am-body-content a.button:active,
.am-body-content button:active,
.am-body-content input[type="button"]:active,
.am-body-content input[type="submit"]:active,
.am-popup a.button:active,
.am-popup button:active,
.am-popup input[type="button"]:active,
.am-popup input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(93, 59, 238, 0.1);
}

.am-body-content input[type=submit]:disabled,
.am-body-content input[type=submit]:disabled:hover,
.am-body-content input[type=button]:disabled,
.am-body-content input[type=button]:disabled:hover,
.am-popup input[type=submit]:disabled,
.am-popup input[type=submit]:disabled:hover,
.am-popup input[type=button]:disabled,
.am-popup input[type=button]:disabled:hover {
    background: #f1f1f1;
    color: #9ca3af;
    border-color: #e5e7eb;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* Secondary button styles */
.btn-secondary,
.am-body-content a.btn-secondary {
    background-color: white;
    color: #5d3bee;
    border: 1px solid #5d3bee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover,
.am-body-content a.btn-secondary:hover {
    background-color: #f9f7ff;
    color: #4b30c3;
    border-color: #4b30c3;
}

/* Success button styles */
.btn-success,
.am-body-content a.btn-success {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

.btn-success:hover,
.am-body-content a.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

/* Danger button styles */
.btn-danger,
.am-body-content a.btn-danger {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-danger:hover,
.am-body-content a.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

/* Cancel button styles */
.btn-cancel,
.am-body-content a.btn-cancel,
.am-body-content a.local-link.btn-cancel {
    background: #f9fafb;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-cancel:hover,
.am-body-content a.btn-cancel:hover,
.am-body-content a.local-link.btn-cancel:hover {
    background: #fef2f2;
    border-color: rgba(239, 68, 68, 0.5);
}