.submit-button {
    position: relative;
    transition: all 0.3s ease;
    height: 44px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: #007bff;
    border: 1px solid #007bff;
    color: white;
    cursor: pointer;
}

.submit-button:hover:not(.loading) {
    background-color: #0056b3;
    border-color: #0056b3;
}

.submit-button:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
}

.submit-button.loading {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.8;
}

.submit-button.success {
    background-color: #28a745;
    border-color: #28a745;
}

.submit-button.error {
    background-color: #dc3545;
    border-color: #dc3545;
}

.submit-loader {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.spinner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes spinner-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.form-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}