/* Math Captcha Styles */
.math-captcha-container {
    margin: 1rem 0;
}

.captcha-question-container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
}

.captcha-canvas {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.3s ease;
    height: 60px;
    width: 150px;
    flex-shrink: 0;
}

.captcha-canvas:hover {
    border-color: #6366f1;
}

.refresh-captcha-btn {
    padding: 0.5rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.refresh-captcha-btn:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.refresh-captcha-btn:active {
    transform: scale(0.95);
}

.captcha-input-container {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.captcha-input {
    padding-right: 2.5rem;
    width: 100%;
}

.captcha-error {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.captcha-error.hidden {
    display: none;
}

.captcha-error.text-green-500 {
    color: #10b981;
}

.captcha-error.text-red-500 {
    color: #ef4444;
}

/* Disabled button styles */
.btn-auth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #9ca3af !important;
}

.btn-auth:disabled:hover {
    background-color: #9ca3af !important;
    transform: none;
}


