/**
 * Basit Matematik Captcha Styles
 */

.smc-captcha-container {
    margin: 14px 0 16px 0;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.smc-context-login {
    background: #ffffff;
    border: 1px solid #dcdcde;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.smc-captcha-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-transform: none !important;
}

.smc-label-text {
    font-weight: 600;
}

.smc-question-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.smc-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.smc-input-field {
    width: 110px !important;
    max-width: 120px !important;
    height: 38px !important;
    padding: 6px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: #ffffff !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.smc-input-field:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

.smc-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1;
}

.smc-refresh-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: scale(1.03);
}

.smc-refresh-btn:active {
    transform: scale(0.97);
}

.smc-refresh-icon {
    transition: transform 0.3s ease;
}

.smc-spinning .smc-refresh-icon {
    animation: smc-rotate 0.6s linear infinite;
}

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