/* Custom styles to enhance UIKit */
.reseller-registration-form {
}

.uk-card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.uk-form-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uk-input.uk-border-rounded,
.uk-textarea.uk-border-rounded,
.uk-select.uk-border-rounded {
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.uk-input.uk-border-rounded:focus,
.uk-textarea.uk-border-rounded:focus,
.uk-select.uk-border-rounded:focus {
    border-color: #1e87f0;
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.1);
}

.captcha-question {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
    user-select: none;
    transition: all 0.3s ease;
}

.captcha-question:hover {
    opacity: 0.9;
}

.uk-button-primary {
    background: linear-gradient(135deg, #1e87f0, #0f6ecd);
    border: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.uk-button-primary:hover {
    background: linear-gradient(135deg, #0f6ecd, #0a58b4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 135, 240, 0.3);
}

.uk-button-primary:disabled {
    background: #cccccc;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.success-message {
    background: #32d296;
    color: white;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message {
    background: #f0506e;
    color: white;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uk-text-small {
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .uk-width-1-2@s {
        width: 100%;
    }
    
    .uk-card-body {
        padding: 20px;
    }
    
    .uk-button-large {
        padding: 0 25px;
        height: 48px;
    }
}

/* Loading spinner for submit button */
.uk-button-primary.loading {
    position: relative;
    color: transparent;
}

.uk-button-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}